in reply to Re: Killing of ALL children made by Open3
in thread Killing of ALL children made by Open3
I modified your code to fit my example by changing one of the my_open3's to:
my_open3(\*STDOUT,\*STDIN,\*STDOUT,"ping -t localhost");
I was excited that your code seemed to work off the bat (no more lingering PINGS), unfortunately, it appears that the pings are not even being created, because the CMD.exe spawned by Open3 is being killed before it can spawn the PING (I believe, not sure though).
I tested this by throwing in a sleep(10); before the my_killkids('INT'); and sure enough PING is created and stays around after all the killing is finished.
I appreciate the reply, I will continue to work with your code because I believe you are on the right track.
Thanks,
Steve
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Killing of ALL children made by Open3
by sgifford (Prior) on Nov 12, 2003 at 21:03 UTC | |
by Anonymous Monk on Nov 17, 2003 at 20:43 UTC |