process_start.py 120 Bytes
Newer Older
German Leon's avatar
German Leon committed
1
2
3
4
5
from subprocess import Popen
from sys import argv

with open(argv[1], "w") as fp:
    fp.write(str(Popen(argv[2]).pid))