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?