http://www.perlmonks.org?node_id=995426


in reply to Re^4: Perl TK
in thread Perl TK

Anyone know why it is crashing out my perl? I believe I have it forked properly??

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)

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh