exception subprocess.CalledProcessError
Subclass of SubprocessError, raised when a process run by check_call() or check_output() returns a non-zero exit status.
-
returncode -
Exit status of the child process. If the process exited due to a signal, this will be the negative signal number.
-
cmd -
Command that was used to spawn the child process.
-
output -
Output of the child process if it was captured by
run()orcheck_output(). Otherwise,None.
-
stdout -
Alias for output, for symmetry with
stderr.
-
stderr -
Stderr output of the child process if it was captured by
run(). Otherwise,None.
Changed in version 3.5: stdout and stderr attributes added
Please login to continue.