Skip to content

Commit 4b7991e

Browse files
committed
Fix running binaryen on windows
1 parent e460806 commit 4b7991e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

emcc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1909,7 +1909,7 @@ def do_minify(): # minifies the code. this is also when we do certain optimizati
19091909
cmd += ['--no-opts']
19101910
logging.debug('asm2wasm (asm.js => WebAssembly): ' + ' '.join(cmd))
19111911
TimeLogger.update()
1912-
subprocess.check_call(cmd, stdout=open(wasm_text_target, 'w'))
1912+
subprocess.check_call(cmd, stdout=open(wasm_text_target, 'w'), shell=True)
19131913
log_time('asm2wasm')
19141914
if shared.Settings.BINARYEN_SCRIPTS:
19151915
binaryen_scripts = os.path.join(shared.Settings.BINARYEN_ROOT, 'scripts')

0 commit comments

Comments
 (0)