in reply to forking and IPC
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
|
|---|