Thanks, that seems to have done it. I guess I didn't think of the filenumber changing since the print("foobar") worked before I execed the other process.
|Replies are listed 'Best First'.|
Re^3: Forks, Pipes and Exec (file descriptors)
by diabelek (Beadle) on Nov 06, 2008 at 18:01 UTC