in reply to Invoking an external command - differences

I don't think you need a signal handler with "system". When it returns, the child has ended, and you can just call the childDone sub yourself. Similarly, when SAFEKID closes, it's done.

I might be wrong, but I think you only get a SIGCHILD when the child is running in the background.


Caution: Contents may have been coded under pressure.
  • Comment on Re: Invoking an external command - differences