in reply to communicating with another program
Close your output handle in test1 before reading input from test2 and it should work (although I didn't test it, there may be more bugs lurking).
And it can't hurt to check the return value of open2.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: communicating with another program
by twotone (Beadle) on Dec 01, 2005 at 04:30 UTC |