in reply to Fork issues
Let me start out by saying that I could not duplicate your exact problem. I think though that your problem lies in over-simple handling of the return values from fork or new and of not calling wait() on the children. At first, I could not get you code to fork at all. Then, after adding proper checks, the code runs fine either in terminal or in background.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Fork issues
by starbolin (Hermit) on Feb 13, 2008 at 01:58 UTC |