Dear bg!
The most common solution is: do not log-out... Heh. Well, there are some
better ones.
I had a problem of the kind a short while ago and here is a way to avoid
hangup: You have to run Your program disabling any input or output. Here
is a sample command-line:
/myprog < /dev/null > /tmp/myprog.log 2> /dev/null
translating which we get:
1. run myprog
2. No input
3. save all output in a log file
4. all errors go to /dev/null
A program launched in this manner does not need a terminal to run, so, it
will not be stopped upon Your log-off. Good luck.
PS. Check Your shell's help (the example above is more or less bash
oriented) for additional info.
On Tue, 10 Jul 2001, 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]