9 lines
158 B
Python
9 lines
158 B
Python
|
#!/usr/local/bin/python
|
||
|
import pathlib
|
||
|
import sys
|
||
|
import subprocess
|
||
|
|
||
|
p = pathlib.Path(sys.argv[1])
|
||
|
|
||
|
sys.exit(subprocess.call(["node", p.name], cwd=p.parent))
|