Re: [Xenomai-core] system() question

2007-02-09 Thread Gilles Chanteperdrix
Stéphane ANCELOT wrote: I tried it, but did not help, I manged to do the trick using start-stop-daemon If I understand correctly the problem you have, it is not related at all with Xenomai. What you want is to make your application a real daemon. The easy way to do this is to call the glibc

Re: [Xenomai-core] system() question

2007-02-09 Thread Gilles Chanteperdrix
Gilles Chanteperdrix wrote: Stéphane ANCELOT wrote: I tried it, but did not help, I manged to do the trick using start-stop-daemon If I understand correctly the problem you have, it is not related at all with Xenomai. What you want is to make your application a real daemon. The easy way

Re: [Xenomai-core] system() question

2007-02-08 Thread Gilles Chanteperdrix
Stéphane ANCELOT wrote: my linux user task uses a system() call in order to call a bash script to restart the realtime task as follow : user interface C call : system(restart_task.sh); give back hand to user interface bash script restart_task.sh : killall -15

[Xenomai-core] system() question

2007-02-07 Thread Stéphane ANCELOT
Is there a way to launch my realtime task from another linux program using system() C call ? I have tried it , but when system call dies my rt task dies too ... any idea ? steph ___ Xenomai-core mailing list Xenomai-core@gna.org

Re: [Xenomai-core] system() question

2007-02-07 Thread Gilles Chanteperdrix
Stéphane ANCELOT wrote: Is there a way to launch my realtime task from another linux program using system() C call ? I have tried it , but when system call dies my rt task dies too ... any idea ? Why does the system call die ? Do you observe the same behaviour with non xenomai applications

Re: [Xenomai-core] system() question

2007-02-07 Thread Stéphane ANCELOT
my linux user task uses a system() call in order to call a bash script to restart the realtime task as follow : user interface C call : system(restart_task.sh); give back hand to user interface bash script restart_task.sh : killall -15 mytask sleep 2 mytask system call dies because