pyo3 0.29.0

Bindings to Python interpreter
Documentation
1
2
3
4
5
6
7
8
9
10
11
#!/usr/local/bin/python
import pathlib
import sys
import subprocess

p = pathlib.Path(sys.argv[1])

command = ["node", p.name, *sys.argv[2:]]
print("Running:", " ".join(command))

sys.exit(subprocess.call(command, cwd=p.parent))