interactive prompts

Michael Williams mwilliams at mgreg.com
Sun Nov 27 06:55:30 CET 2005


Hi all,

I'm having an issue with environment variables and spawned commands.   
Specifically, I'm using "eval `ssh-agent`" and "ssh-add".  My  
question is, how do I force the environmental variables set by one  
'popen' or 'pexpect' to propagate throughout the entire Python  
session so that any commands called will see those env variables?

Regards,
Michael



More information about the Python-list mailing list