Unix processes and forking

Unix>Winderz's Avatar, Join Date: Aug 2010
Newbie Member
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?
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
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.