[EMAIL PROTECTED] wrote: > thanks for your input... > well I just find out that modifying environment through ksh call is not > possible (can't get the new evironment back to python).
I thought about this a few days ago. Can't you copy it like this: import os env_rows = os.popen('. some.script > /dev/null; env).readlines() for row in env_rows: var, val = row.split('=',1) os.environ[var]=val -- http://mail.python.org/mailman/listinfo/python-list