完成运行后如何获取子进程的环境变量? [英] How to get the environment variables of a subprocess after it finishes running?
本文介绍了完成运行后如何获取子进程的环境变量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在寻找一种方法来执行此操作,以便我可以将其传递给另一个子进程的环境。
I'm looking for a way to do this, so that I can pass it to the environment of another subprocess.
推荐答案
p>您可以在第一个子进程中打印出来,并在python中处理该字符串吗?
Can you print them out in the first subprocess and deal with that string in python?
这篇关于完成运行后如何获取子进程的环境变量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文