./config.status --config
How to remember ./configure script arguments a year later
./config.status --config
from subprocess import Popen, PIPEcmd = "blah blah"process = Popen(cmd.split(), stdout=PIPE)process.communicate() # execute it, the output goes to the stdoutexit_code = process.wait() # when finished, get the exit codeimport os
print os.environ['ENV_VAR_YOU_WANT']