diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-03-05 09:40:47 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-03-05 09:40:47 -0800 |
commit | b04d72c93aca1802da411724b1d2dd3c1adc63b0 (patch) | |
tree | 084912c945c4e79cebdeb2fd1789a88f4e75f2d0 | |
parent | 90b9f2199f263f8feaa7ffb16d0c2cb42dcc9275 (diff) |
comment about node stack size
-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 c5774c1a..0594f81e 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -477,7 +477,7 @@ def timeout_run(proc, timeout, note='unnamed process', full_output=False): def run_js(filename, engine=None, args=[], check_timeout=False, stdout=PIPE, stderr=None, cwd=None, full_output=False): if engine is None: engine = JS_ENGINES[0] engine = listify(engine) - #if not WINDOWS: 'd8' in engine[0] or 'node' in engine[0]: engine += ['--stack_size=8192'] # needed for some big projects + #if not WINDOWS: 'd8' in engine[0] or 'node' in engine[0]: engine += ['--max-stack-size=8192', '--stack_size=8192'] # needed for some big projects command = engine + [filename] + (['--'] if 'd8' in engine[0] else []) + args return timeout_run(Popen(command, stdout=stdout, stderr=stderr, cwd=cwd), 15*60 if check_timeout else None, 'Execution', full_output=full_output) |