Unix processes and forking

Newbie Member
2Aug2010,05:14   #1
Unix>Winderz's Avatar
Ok well how do keep forking back in my main program.

So I have this project I need to get done. Main program is in infinite loop unless CTRL^D. User enters a cmd and main forks child to run it, then prompts for input.

My program does this once then ends. What about Unix processes am I not getting?
Mentor
8Aug2010,00:22   #2
xpi0t0s's Avatar
You forgot to paste your code. I can't see your screen from here, or read your mind.

If you want us to have a look at your code then you'll have to post it with code tags.