Why do you have exit(0) in the forked code? My guess is that exit is closing the script. Maybe it has something to do with fork being emulated by threads on MSWindows? See How does system(1,"foo") work on Windows?. Maybe all you need is "system(1, start $url)"
if ($pid == 0) { execute(system "start http://www.yahoo.com"); exit(0)
In reply to Re^5: Perl TK
by zentara
in thread Perl TK
by randor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |