run foo: DBG: cd '[TMP]'; PATH=[$PATH] foo.py arg1 arg2 run foo: DBG: [TMP]/stdout run foo: DBG: [TMP]/stderr run foo(pid=[PID]): Launched stdout: (launched: [DATETIME]) foo stdout [[$0], 'arg1', 'arg2'] stderr: (launched: [DATETIME]) foo stderr run foo(pid=[PID]): Terminating (SIGINT) run foo(pid=[PID]): DBG: Cleanup run foo(pid=[PID]): Terminated {rc=42} result: 42 stdout: (launched: [DATETIME]) foo stdout [[$0], 'arg1', 'arg2'] SIGINT received Exiting (stdout) stderr: (launched: [DATETIME]) foo stderr Exiting (stderr) done.