#: 11443 S12/OS9/68000 (OSK)
22-Jul-91 22:20:05
Sb: #11417-#forks and pipes
Fm: Bruce MacKenzie 71725,376
To: Bob van der Poel 76510,2203 (X)
Bob
I've had a look at your code and my best guess is that shell doesn't know it's
to die on eof. Since all you want out of shell is to set up your child for you
why don't you try having it 'ex' the child, i.e. change the line
argv[0]="shell";
to
argv[0]="shell ex";
This should get your child up and running and get rid of the shell at the
outset.
This is off the top of my head and I hope it works and doesn't get you into
more tangles.
There is 1 Reply.
|