diff options
Diffstat (limited to 'bench_loop.py')
| -rw-r--r-- | bench_loop.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bench_loop.py b/bench_loop.py index c0162e3..482e97c 100644 --- a/bench_loop.py +++ b/bench_loop.py @@ -60,7 +60,10 @@ class Benchmark_Loop( Benchmark ): if verbose: print("\n" + tname, t, "\n", " ".join(target_cmd), "\n") - p = subprocess.Popen(target_cmd, stderr=subprocess.PIPE, stdout=subprocess.PIPE, + p = subprocess.Popen(target_cmd, + env=os.environ, + stderr=subprocess.PIPE, + stdout=subprocess.PIPE, universal_newlines=True) while p.poll() == None: |
