Skip to content

Commit 465ccd2

Browse files
author
Harry Terkelsen
authored
Suppress stdout when activating emsdk (flutter#36808)
1 parent 54109e3 commit 465ccd2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tools/activate_emsdk.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,16 @@ def main():
2121
try:
2222
subprocess.check_call([
2323
sys.executable, EMSDK_PATH, 'install', EMSDK_VERSION
24-
])
24+
],
25+
stdout=subprocess.DEVNULL)
2526
except subprocess.CalledProcessError:
2627
print('Failed to install emsdk')
2728
return 1
2829
try:
2930
subprocess.check_call([
3031
sys.executable, EMSDK_PATH, 'activate', EMSDK_VERSION
31-
])
32+
],
33+
stdout=subprocess.DEVNULL)
3234
except subprocess.CalledProcessError:
3335
print('Failed to activate emsdk')
3436
return 1

0 commit comments

Comments
 (0)