The subprocess documentation has both a returncode and a stderr value when in the tuple returned by .communicate(). If there is a value assigned to stderr, is this classed as the program successfully run and finished (and hence returncode will be 0) or not (and then the value of returncode will be greater than 0)?
The subprocess documentation has both a returncode and a stderr value when in the
Share
stderrrefers to the standard error stream of the process, as explained here: http://en.wikipedia.org/wiki/Stderr#Standard_error_.28stderr.29You can write messages to that for debug purposes, and still have an exit code of zero.