Added support for $pid_exe and $pid_stdin, $pid_stdout and $pid_stderr