Sending a SIGUSR1 signal will cause a random non-main thread to make the exec call.
-m pid
-s signal
-t timeout
-c count
-e executable
-b
program arg...
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 the 64-bit funit-exit program.
/usr/lib/frysk/funit-exec \ /usr/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 "arg0".
/usr/lib/frysk/funit-exec -c 1 -s 1 -p $$ \ -e /bin/echo arg0 arg1
Report bugs to m[blue]http:/sources.redhat.com/fryskm[]