On 2005-12-20, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> Is there a trick to getting putenv/getenv to work?

No.

> I have csh script that calls a bunch of python programs and I'd like to
> use env variables as kind of a global variable that I can pass around
> to the pythong scripts.

You can't change the environment of the parent process.

IOW, the python programs can't change the environment of the
calling csh script (or, by extenstion, the environment of
subsequent python programs that are called by the csh script).

-- 
Grant Edwards
[EMAIL PROTECTED]
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to