Set an environment variable
Christian
christian at spam.not
Fri Oct 21 03:26:40 EDT 2005
Erik Max Francis wrote:
> Christian wrote:
>
>> Can I write a .py script that calls a .sh script that executes the
>> export command and then calls another .py script (and how would the
>> first .py script look)?
>
> No, the shell script that the Python program would invoke would be a
> different process and so commands executed in it would have no effect on
> the state of another.
>
So executing an .sh script that calls a .py script works different when
executed from a command promt than when executed from a starter .py script?
More information about the Python-list
mailing list