Honestly, I just don\'t understand the lingo of \"non-zero\" status to really interpret what\'s going on or what that means (it wasn\'t even defined) on help pages. What are som
The main difference is that, while popen is a non-blocking function (meaning you can continue the execution of the program without waiting the call to finish), both call and check_output are blocking.
The other difference is in what they return:
Popen object
.The methods call and check_output are, in fact, blocking wrappers of popen, using a Popen object
.
For example, you can get the returncode attribute by calling Popen.returncode()
.