First of all, I think this code will probaly be system dependent so you should know I am trying to get this to work on GNU/Linux. Ok, here is my problem: I want to write a script that will keep two procecess going at all times. To be more verbose, it will start two processes, wait for one of them to exit and then start another process when it happens. I hope I have been clear enough.
I am aware of the fork and waitpid functions, but I cannot think of anyway to get this working. Any help will be very appreciated.
Thank you,
blax
In reply to Keep Two Processes Going by blax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |