Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
emscripten-core
GitHub Repository: emscripten-core/emscripten
Path: blob/main/em++.py
6162 views
1
#!/usr/bin/env python3
2
# Copyright 2011 The Emscripten Authors. All rights reserved.
3
# Emscripten is available under two separate licenses, the MIT license and the
4
# University of Illinois/NCSA Open Source License. Both these licenses can be
5
# found in the LICENSE file.
6
7
import sys
8
9
import emcc
10
from tools import shared
11
12
shared.run_via_emxx = True
13
14
if __name__ == '__main__':
15
try:
16
sys.exit(emcc.main(sys.argv))
17
except KeyboardInterrupt:
18
emcc.logger.debug('KeyboardInterrupt')
19
sys.exit(1)
20
21