开发者

IPython: get return status from subprocess

I am using IPythons getoutput() to run a process in background. Which is nice as it开发者_开发技巧 does not open a separate window on my machine (I'm using the IPython shell inside Spyder IDE).

Is there a way capture the return status from the subprocess ?


Take a look at the subprocess module: http://docs.python.org/library/subprocess.html
Specifically, take a look at popen().

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜