a question on C++

2001-07-10 Thread b g
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

Re: a question on C++

2001-07-10 Thread mulix
On Tue, 10 Jul 2001, b g wrote: 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? two ways: a. by making your program a daemon. daemons are unix processes which run without a

Re: a question on C++

2001-07-10 Thread Yotam Medini
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? This is not a C++ question. How about running the parent program using 'batch

Re: a question on C++

2001-07-10 Thread Alexander V. Karelin
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

Re: a question on C++

2001-07-10 Thread Idan Sofer
On 10 Jul 2001 12:18:17 +0300, mulix wrote: On Tue, 10 Jul 2001, b g wrote: 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? two ways: A thrid way: Run it with the

Re: a question on C++

2001-07-10 Thread Tzafrir Cohen
On Tue, 10 Jul 2001, b g wrote: Hi list! Can anyone help me with a problem i have? Yes. But please refrain from cross-posting. 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