in reply to Premature close of the pipe
But... you are closing the pipe yourself before the process has a chance to terminate: the close() above the waitpid().
If you want to get rid of stderr, simply redirect it. There's no need to mess with open3().
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Premature close of the pipe
by Superfox il Volpone (Sexton) on Apr 10, 2014 at 14:35 UTC |