wrapper.py 201 B

1234567891011
  1. import os
  2. import sys
  3. if __name__ == '__main__':
  4. path = sys.argv[1]
  5. if path[0] != '/':
  6. path = os.path.join(os.path.dirname(__file__), path)
  7. os.execv(path, [path] + sys.argv[2:])