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.
almut++
In reply to Re^2: Forks, Pipes and Exec (file descriptors)
by diabelek
in thread Forks, Pipes and Exec
by diabelek
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |