Skip to content

Commit

Permalink
Suppress stdout when activating emsdk (flutter#36808)
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry Terkelsen authored Oct 17, 2022
1 parent 54109e3 commit 465ccd2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tools/activate_emsdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,16 @@ def main():
try:
subprocess.check_call([
sys.executable, EMSDK_PATH, 'install', EMSDK_VERSION
])
],
stdout=subprocess.DEVNULL)
except subprocess.CalledProcessError:
print('Failed to install emsdk')
return 1
try:
subprocess.check_call([
sys.executable, EMSDK_PATH, 'activate', EMSDK_VERSION
])
],
stdout=subprocess.DEVNULL)
except subprocess.CalledProcessError:
print('Failed to activate emsdk')
return 1
Expand Down

0 comments on commit 465ccd2

Please sign in to comment.