Re: [Tutor] Changing (Unix) environment for python shell/popen() commands

2005-01-23 Thread Danny Yoo
On Sun, 23 Jan 2005, Scott W wrote: > I've got to shell out from my python code to execute a command, but > _must_ set the environment at the same time (or prior to execution). > > I saw some comments about setting os.environ[], but > didn't seem to be seeing this work in subsequent calls using

Re: [Tutor] Changing (Unix) environment for python shell/popen() commands

2005-01-23 Thread "Jörg Wölke"
> Hey all. Hello! > I'm unfortunately stuck using python 1.5.2, primarily on Linux > currently, and have done the usual searching (on list, active state, > google), without luck. > > I've got to shell out from my python code to execute a command, but > _must_ set the environment at the same