Refactor ExecProc to use Popen so that it can run under python 2.6.6