in reply to Can I stop a backtick command but continue the script?

Regarding your updated code: Since the parent is doing a waitpid(), you do not want to set up a SIGCHLD handler. Use either one or the other (I'd suggest the waitpid). If the waitpid reaps the child, the SIGCHLD wait call will hang waiting for yet another child to be reaped.
  • Comment on Re: Can I stop a backtick command but continue the script?

Replies are listed 'Best First'.
Re^2: Can I stop a backtick command but continue the script?
by DentArthurDent (Monk) on Mar 03, 2005 at 12:47 UTC
    That comes from not knowing what one is doing and copying code from several other places at once. Thanks for the tip!
    ----
    My mission: To boldy split infinitives that have never been split before!