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.
A simple translation to a few lines of subprocess.call(...) fails
because the first call modifies the environment, but the other lines
don't see it.
On Mon, 2008-11-17 at 15:27 -0800, rowen 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.
A simple translation to a few lines of subprocess.call(...) fails
because the first call
En Mon, 17 Nov 2008 21:27:09 -0200, rowen [EMAIL PROTECTED]
escribió:
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.
A simple translation to a few lines of subprocess.call(...) fails
because
On Nov 18, 9:27 am, rowen [EMAIL PROTECTED] 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