funit-exec — on CNTRL-C exec the specified program
Wait for a SIGINT (cntrl-c) signal and then exec
Sending a SIGUSR1 signal will cause a random non-main thread to make the exec call.
pid of the master process
that should be sent a signal once this program is running
signal to send to the
master process once this program is running (default
executable to exec (default
Brand the exec with the thread that initiated it by setting argv to the string TID:PID.
The program and arguments to pass to the exec call.
This program is used by
funit, as part
of frysk's JUnit testsuite.
Create a 32-bit process that, on cntrl-c (SIGINT), will exec
/usr/local/lib/frysk/funit-exec \ /usr/local/lib64/frysk/funit-exec /bin/echo done
Create a process, with one additional thread, signals the
shell with SIGUSR1 once it is running, and then execs
/bin/echo but with argument zero set to
/usr/local/lib/frysk/funit-exec -c 1 -s 1 -p $$ \ -e /bin/echo arg0 arg1
Report bugs to http:/sources.redhat.com/frysk