Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Env: Windows XP pro, Activestate Perl 5.6.1, 5.8.
I have been following the threads involving Open3:
IPC::Open3 woes
Open3 and bad gut feeling
but I noticed an issue that was not brought up it any of them.
If you timeout a process and kill it, you really only kill the CMD.exe that Open3 spawns in order to run the command specified. The only reason I noticed this, is that I did all my testing with "ping -t", and ended up with 100s of pings running on my system.
Is there any way to track what children are spawned by CMD in order to kill off everything if the command times out?
Thanks,
Steve
Edit: BazB, changed href links to [id://] links.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Killing of ALL children made by Open3
by Zaxo (Archbishop) on Nov 12, 2003 at 07:06 UTC | |
by Anonymous Monk on Nov 12, 2003 at 19:41 UTC | |
|
Re: Killing of ALL children made by Open3
by sgifford (Prior) on Nov 12, 2003 at 16:32 UTC | |
by Anonymous Monk on Nov 12, 2003 at 19:51 UTC | |
by sgifford (Prior) on Nov 12, 2003 at 21:03 UTC | |
by Anonymous Monk on Nov 17, 2003 at 20:43 UTC |