morgon has asked for the wisdom of the Perl Monks concerning the following question:
An ill fate has landed me on Windows which I know very little about - so I hope I can find some information here.
My problem is that I want to start a new process and get a notification (asynchronously - I don't want to polly my child's status) when the child exits.
On *nix I can simply fork and will receive a SIGCHLD-signal when my child exits but on Windows fork is faked and there don't seem to be signals.
So can someone please explain to me how to do this on Windows (probably using Win32::Process instead of fork?).
Many thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: child process termination on Windows
by ReturnOfThelonious (Beadle) on Nov 18, 2009 at 22:49 UTC | |
by morgon (Priest) on Nov 19, 2009 at 10:05 UTC | |
by ReturnOfThelonious (Beadle) on Nov 20, 2009 at 03:28 UTC | |
by morgon (Priest) on Nov 22, 2009 at 21:02 UTC | |
by ReturnOfThelonious (Beadle) on Nov 24, 2009 at 14:58 UTC | |
|
Re: child process termination on Windows
by cdarke (Prior) on Nov 19, 2009 at 08:28 UTC | |
by morgon (Priest) on Nov 19, 2009 at 10:03 UTC | |
by cdarke (Prior) on Nov 19, 2009 at 12:08 UTC | |
|
Re: child process termination on Windows
by tokpela (Chaplain) on Nov 19, 2009 at 10:25 UTC |