in reply to Launching HTML File
#!/usr/bin/perl use warnings; use strict; my $linkurl = 'http://google.com'; #my $file = 'my_local_page.html'; #my $command = "firefox $file"; # if(fork() == 0){ exec ($command) } #works #external url my $command = "firefox $linkurl"; if(fork() == 0){ exec ($command) }
|
|---|