#: 11446 S12/OS9/68000 (OSK)
22-Jul-91 22:46:34
Sb: #11442-forks and pipes
Fm: Kevin Darling 76703,4227
To: Bob van der Poel 76510,2203 (X)
Hmmm. I think a shell forked with parameters (eg: shell dir) dies when the
child does, and never looks for more input.
Just for fun, try "shell (tr whatever)&" and see if that orphans things up a
bit... ooops... no way for you to check if the child dies, altho you could
assume he has when you close off the pipe (maybe not exact enuf for you tho).
I'll have to compile a version of the code you gave before... as similar things
always worked before. Or maybe you should just go ahead and parse arguments
and use no shell? best - kev
|