Unix processes and forking
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?
Re: Unix processes and forking
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.
|All times are GMT +5.5. The time now is 13:47.|