os.environ conflicts with my shell

Martin Franklin martin.franklin at waii.com
Wed Mar 29 14:00:37 CEST 2000


Why not use Guido's ShellWindow instead of an xterm....  much more platform
independant
(you may have to extend it a little bit)  This is what i've used when I've had to
let my users
execute some legacy shell scripts.....

Martin


Thomas Wouters wrote:

> On Wed, Mar 29, 2000 at 11:30:58AM +0100, Michael Hudson wrote:
>
> > > > How can I get the value of os.environ["NAME"] to stick in new xterm's
> > > > environment?
>
> > try os.system("xterm -e zsh -f &"); this disables the reading of most
> > of the init files.
>







More information about the Python-list mailing list