Set an environment variable
Grant Edwards
grante at visi.com
Fri Oct 21 16:13:32 EDT 2005
On 2005-10-21, Mike Meyer <mwm at mired.org> wrote:
> Grant Edwards <grante at visi.com> writes:
>> My point: the OP wanted to know how to export an environment
>> variable to a child process. Either of the lines of code above
>> will do that, so what's with all the shellular shenanigans?
>
> Actually, the OP didn't say he wanted to export a variable to a child
> process. He said he wanted to know how to do the equivalent of "export
> SYMBOL=value", which got intreprted as "setting a variable in the
> parent shell."
The only think you can export an environment variable to is a
child process, so I thought it obvious that was what he was
doing with the "export" command example.
--
Grant Edwards grante Yow! I'm gliding over a
at NUCLEAR WASTE DUMP near
visi.com ATLANTA, Georgia!!
More information about the Python-list
mailing list