current commit
260731.8 · Use argv[0] to determine em++ vs emcc. NFC (#27465)
#!/usr/bin/env python3
# Copyright 2011 The Emscripten Authors.  All rights reserved.
# Emscripten is available under two separate licenses, the MIT license and the
# University of Illinois/NCSA Open Source License.  Both these licenses can be
# found in the LICENSE file.

import sys

import emcc

if __name__ == '__main__':
  try:
    sys.exit(emcc.main(sys.argv))
  except KeyboardInterrupt:
    emcc.logger.debug('KeyboardInterrupt')
    sys.exit(1)