Mega Code Archive
Categories
/
Python
/
System
Get pid, command line arguments from system
import os, sys print 'Hello from child', os.getpid(), sys.argv[1] raw_input("Press
")