Work with setsid to open a session and close it correctly
Hello,
I would like to create the following bash script:
-- run a python script with setsid
-- python may or may not fail with exception
-- check if all of the group processes were terminated correctly
-- if not, kill the remaining processes
Any idea how can I do that?
Thanks a lot
|