diff options
Diffstat (limited to 'bench_conprod.py')
| -rw-r--r-- | bench_conprod.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bench_conprod.py b/bench_conprod.py index 0ad43ed..31c4d2e 100644 --- a/bench_conprod.py +++ b/bench_conprod.py @@ -59,7 +59,10 @@ class Benchmark_ConProd( 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: |
