Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
emscripten-core
GitHub Repository: emscripten-core/emscripten
Path: blob/main/em++.py
4091 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
import emcc
9
from tools import shared
10
11
shared.run_via_emxx = True
12
13
if __name__ == '__main__':
14
try:
15
sys.exit(emcc.main(sys.argv))
16
except KeyboardInterrupt:
17
emcc.logger.debug('KeyboardInterrupt')
18
sys.exit(1)
19
20