阅读背景:

Python:子进程中的持久shell变量

来源:互联网 

I'm trying to execute a series of commands using Pythons subprocess module, however I need to set shell variables with export before running them. Of course the shell doesn't seem to be persistent so when I run a command later those shell variables are lost.I'm trying to execute a series of commands usin




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: