diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2012-11-30 02:01:38 -0800 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2012-11-30 02:01:38 -0800 |
commit | c8cb3ba54e827c0400db30b4440384cc888ec8af (patch) | |
tree | 5cd69751641b48930169d527b4265755bd858610 /framework/process.py | |
parent | fa010f88017958f2861b4ac7231fbaf6cd2a5695 (diff) |
guard against out/err not being set during timeout.
Diffstat (limited to 'framework/process.py')
-rw-r--r-- | framework/process.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/process.py b/framework/process.py index 790d748..efe2b26 100644 --- a/framework/process.py +++ b/framework/process.py @@ -44,6 +44,8 @@ def runProgram(cmd, timeout, env = None): else: fullEnv = os.environ + out = '' + err = '' try: proc = Popen(cmd, stdout=PIPE, stderr=PIPE, env=fullEnv, start_new_session=True, universal_newlines=True) |