[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a question on C++
- To: IGLU <linux-il(at-nospam)linux.org.il>
- Subject: Re: a question on C++
- From: Daniel Feiglin <dilogsys(at-nospam)inter.net.il>
- Date: Tue, 10 Jul 2001 12:44:37 +0300
- Delivered-To: linux.org.il-linux-il@linux.org.il
- Organization: Dilog Computers Ltd.
- References: <3.0.6.32.20010710111404.0079c9f0@md.huji.ac.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010628
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 linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
>
>
>
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il