in reply to Re: Linking to Web from Tk perl
in thread Linking to Web from Tk Fork, Spawn and Proc Background

I originally did not fork. The program would hang up. Only when I ended the program with a cntrl-c, would the web site would appear. That is what led me to try a fork in the first place.

Replies are listed 'Best First'.
Re^3: Linking to Web from Tk perl
by jdporter (Paladin) on Feb 03, 2005 at 15:30 UTC
    Here's how I do it in Adso.pl, a Tk-based PerlMonks client:
    require Win32; { my $pid; Win32::Spawn( $path_to_firefox_exe, qq(-url "$url"), $pid ); }
    I may have been wrong about the cmd.exe thing.