diff options
author | max99x <max99x@gmail.com> | 2011-08-23 11:38:17 +0300 |
---|---|---|
committer | max99x <max99x@gmail.com> | 2011-08-23 11:38:17 +0300 |
commit | 1e84d2e65a9044f02b06644edc33a3b49f3c8b25 (patch) | |
tree | 17abf4fb9831eff043183784ed3312a87d7d17d2 | |
parent | 7eb19241b1ff145a51912bfa02ffda7d913494d3 (diff) |
Fixed v8/d8 path edge case (Issue #64).
-rw-r--r-- | tools/shared.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/shared.py b/tools/shared.py index 3c9eeb60..ce42d794 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -44,7 +44,7 @@ def timeout_run(proc, timeout, note): return proc.communicate()[0] def run_js(engine, filename, args, check_timeout=False, stdout=PIPE, stderr=STDOUT, cwd=None): - return timeout_run(Popen(engine + [filename] + (['--'] if 'v8' in engine[0] else []) + args, + return timeout_run(Popen(engine + [filename] + (['--'] if 'd8' in engine[0] else []) + args, stdout=stdout, stderr=stderr, cwd=cwd), 15*60 if check_timeout else None, 'Execution') def to_cc(cxx): |