Simply invoke python itself on the script
(filename)
| 42 | |
| 43 | |
| 44 | def run_via_cpython(filename): |
| 45 | """Simply invoke python itself on the script""" |
| 46 | env = os.environ.copy() |
| 47 | subprocess.check_call([sys.executable, filename], env=env) |
| 48 | |
| 49 | |
| 50 | RUSTPYTHON_BINARY = os.environ.get("RUSTPYTHON") or os.path.join( |