A more "UNIX-y" way to do it would be to use a pipe between you and the child instead of a file. The parent would use a select loop to determine if there was any pending output from the child waiting to be read.
--
We're looking for people in ATL
In reply to Re: forking and IPC
by Fletch
in thread forking and IPC
by mbrentlinger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |