Re: programmatically manipulation environment variables of the calling shell

2007-03-12 Thread Diez B. Roggisch
Dennis Lee Bieber wrote: > On Mon, 12 Mar 2007 12:33:58 +0200, "Maxim Veksler" <[EMAIL PROTECTED]> > declaimed the following in comp.lang.python: > >> Hello list, >> >> I'm trying to write a python script that would allow me to manipulate >> shell variables of the calling shell. I'm trying to wr

Re: programmatically manipulation environment variables of the calling shell

2007-03-12 Thread Diez B. Roggisch
Michal 'vorner' Vaner wrote: > Hello, > > On Mon, Mar 12, 2007 at 11:40:11AM +0100, Diez B. Roggisch wrote: >> Maxim Veksler wrote: >> > I'm trying to write a python script that would allow me to manipulate >> > shell variables of the calling shell. I'm trying to write some logic >> > that would

Re: programmatically manipulation environment variables of the calling shell

2007-03-12 Thread Michal 'vorner' Vaner
Hello, On Mon, Mar 12, 2007 at 11:40:11AM +0100, Diez B. Roggisch wrote: > Maxim Veksler wrote: > > I'm trying to write a python script that would allow me to manipulate > > shell variables of the calling shell. I'm trying to write some logic > > that would know to add LD_LIBRARY_PATH to the users

Re: programmatically manipulation environment variables of the calling shell

2007-03-12 Thread Maxim Veksler
On 3/12/07, Tommy Nordgren <[EMAIL PROTECTED]> wrote: > > On 12 mar 2007, at 11.33, Maxim Veksler wrote: > > > Hello list, > > > > I'm trying to write a python script that would allow me to manipulate > > shell variables of the calling shell. I'm trying to write some logic > > that would know to ad

Re: programmatically manipulation environment variables of the calling shell

2007-03-12 Thread Tommy Nordgren
On 12 mar 2007, at 11.33, Maxim Veksler wrote: > Hello list, > > I'm trying to write a python script that would allow me to manipulate > shell variables of the calling shell. I'm trying to write some logic > that would know to add LD_LIBRARY_PATH to the users environment. > > In bash this is done

Re: programmatically manipulation environment variables of the calling shell

2007-03-12 Thread Gerard Flanagan
On Mar 12, 11:33 am, "Maxim Veksler" <[EMAIL PROTECTED]> wrote: > Hello list, > > I'm trying to write a python script that would allow me to manipulate > shell variables of the calling shell. I'm trying to write some logic > that would know to add LD_LIBRARY_PATH to the users environment. > > In ba

Re: programmatically manipulation environment variables of the calling shell

2007-03-12 Thread Diez B. Roggisch
Maxim Veksler wrote: > Hello list, > > I'm trying to write a python script that would allow me to manipulate > shell variables of the calling shell. I'm trying to write some logic > that would know to add LD_LIBRARY_PATH to the users environment. > > In bash this is done with "export", can I do

programmatically manipulation environment variables of the calling shell

2007-03-12 Thread Maxim Veksler
Hello list, I'm trying to write a python script that would allow me to manipulate shell variables of the calling shell. I'm trying to write some logic that would know to add LD_LIBRARY_PATH to the users environment. In bash this is done with "export", can I do this with python? (If at all possibl