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 :
give back hand to user interface

bash script :
killall -15 mytask
sleep 2
mytask &

system call dies because sh script has been launched

Gilles Chanteperdrix wrote:
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 ?

Xenomai-core mailing list

Reply via email to