[Melbourne-pm] fork()ing Windows

Leigh Sharpe lsharpe at pacificwireless.com.au
Sun Jul 24 18:43:09 PDT 2005

>Unrecognized signal name "USR1" at try.pl line 26.
>At which point the script dies.

That would be because USR1 and USR2 aren't known to Windows. Using kill
(10,$pid2) continues to run OK. I'll have to see if the signal is handled
properly in the child, though.

I hope you set  $SIG{CHLD}='IGNORE';   first.

> You would probably get more definitive advice regarding fork() from the
> perl-win32-users mailing list ( http://aspn.activestate.com/ASPN/Mail/ )
> than you will from me :-)

Yeah, thought I'd try here first. I've heard some talk of forks here

More information about the Melbourne-pm mailing list