1. Don't log out! (The moment you kill your session, everything running in it
goes too. See Stevens, Adv. Prog. in the Unix Env. Ch 9.)
2. Instead of using using system(), fork off daemons ibid. Ch 13. That should do
the trick.
b g wrote:
> Hi list!
> Can anyone help me with a problem i have?
> i've written a c++ program (using kdevelop under radhat 7.1) which takes 12
> parameters. i need to run it several hundred times, changing each time
> another parameter. in order to do this another program was writen with a
> for loop in it.
> the loop contains system() comand, that boots the big program. everything
> goes ok untill i logout. when i do logout, the programs are killed.
> how can i prevent this?
>
>
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>
>
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]