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 7import sys 8import emcc 9from tools import shared 10 11shared.run_via_emxx = True 12 13if __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