ProcessManager: uses pgroup_open instead of popen3