Open jeremyBanks opened 13 years ago
We should pull some of this out of main() and into its own function. Maybe wrap subprocess.call (or maybe just the Popen constructor)...
main()
subprocess.call
command=["/bin/sh", ["echo", "foo"]]
env={"HISTFILE": ""}
cwd=./
When we add better IO options for the command (#3) they would need to be reflected here (either replacing or complementing subprocess' normal IO).
We should pull some of this out of
main()
and into its own function. Maybe wrapsubprocess.call
(or maybe just the Popen constructor)...command=["/bin/sh", ["echo", "foo"]]
properly.env={"HISTFILE": ""}
by defaultcwd=./
by default (paths relative to tmpdir)When we add better IO options for the command (#3) they would need to be reflected here (either replacing or complementing subprocess' normal IO).