subprocess with shared environment?

alex23 wuwei23 at
Tue Nov 18 04:37:31 CET 2008

On Nov 18, 9:27 am, rowen <ro... at> wrote:
> I'd like to replace some shell scripts with Python, but one step of
> the script modifies my environment in a way that the subsequent steps
> require.
> Is there a straightforward  way to do this (without having to resort
> to writing some of it as a shell script)?

Perhaps using os.environ?

More information about the Python-list mailing list