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


in reply to How to optionally kill a child, and capture status if not killed.

I'm unclear on your exact problem, and that's a lot of code for me to look through to figure it out.

Is your main problem that you're not sure where the child process's status ends up once wait returns? The docs say it ends up in $?.

  • Comment on Re: How to optionally kill a child, and capture status if not killed.
  • Download Code