Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Unix processes and forking (http://www.go4expert.com/forums/unix-processes-forking-t22899/)

Unix>Winderz 2Aug2010 05:14

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?

xpi0t0s 8Aug2010 00:22

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 01:58.