In case you don't need to differentiate between whether the output originated from stdout or stderr, it should be sufficient to redirect stderr to stdout (i.e. ... 2>&1) for the command that you run in the child process.
In reply to Re: Forking Queue with Pipe (grabbing stderr)
by almut
in thread Forking Queue with Pipe (grabbing stderr)
by smithgw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |