Your pipe needs to be set up before fork. In your code, the parent never sees either end.
After Compline,
Zaxo
In reply to Re: Collecting STDOUT from childeren (and subchilderen) via pipe()
by Zaxo
in thread Collecting STDOUT from childeren (and subchilderen) via pipe()
by johnc909
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |