I would not use the exec function to open the website in a browser. Better use the HTML functions for reading the website directly.