View Single Post
Old Feb 6th, 2007, 4:08 PM   #4
jim mcnamara
Hobbyist Programmer
 
Join Date: Jun 2005
Location: New Mexico
Posts: 228
Rep Power: 4 jim mcnamara is on a distinguished road
Have the child process call sleep(9999);

But why do you want that? If this is related your your other post, then I'd guess you're playing around with code, which is a good way to learn.
But, in the real world, unless you are building a daemon, you are wasting system resources by having a process park itself in memory for no reason.
jim mcnamara is offline   Reply With Quote