Index: testing/test_env.py |
diff --git a/testing/test_env.py b/testing/test_env.py |
index 4c194277bf33090c31097025cf7c85064413a10a..bfb58b821678fb2b9397bcbb6aee93434b3c8f91 100755 |
--- a/testing/test_env.py |
+++ b/testing/test_env.py |
@@ -173,7 +173,8 @@ def run_executable(cmd, env): |
# Need to pipe to the symbolizer script. |
p1 = subprocess.Popen(cmd, env=env, stdout=subprocess.PIPE, |
stderr=sys.stdout) |
- p2 = subprocess.Popen(["../tools/valgrind/asan/asan_symbolize.py"], |
+ p2 = subprocess.Popen([sys.executable, |
+ "../tools/valgrind/asan/asan_symbolize.py"], |
env=env, stdin=p1.stdout) |
p1.stdout.close() # Allow p1 to receive a SIGPIPE if p2 exits. |
p1.wait() |