in reply to Re: Automatically killing a child
in thread Automatically killing a child
If you open a pipe on the command '-' , i.e., either '|-' or '-|' with 2-arguments (or 1-argument) form of open(), then there is an implicit fork done, and the return value of open is the pid of the child within the parent process, and 0 within the child process.
It's in there, just hidden way on down.
|
|---|