Hi All,
I was trying an auto login script for facebook using perl, and I encountered an error message while i was trying to launch the browser from the script.
I have pasted below the module that I was using to launch the browser. Looks to me like its a bug. Can anyone please suggest me a workaround ?
1) First Method I used :
my $launchBrowser = 'firefox -remote \"openURL($linkURL)\"';
if ( fork() == 0)
{
exec($launchBrowser);
}
2) Method 2 :
my $launchBrowser = '/usr/bin/firefox -a firefox -remote \"openURL('$linkURL',new-tab)\"';
if ( fork() == 0 )
{
exec ( $launchBrowser);
}
Both these method return the same error message,
Error: No running window found
Thanks,
Harsha