diff -r eb0af7f6ea6d Doc/library/subprocess.rst --- a/Doc/library/subprocess.rst Mon Jul 30 04:09:32 2012 -0700 +++ b/Doc/library/subprocess.rst Mon Jul 30 16:19:52 2012 +0300 @@ -176,6 +176,14 @@ output. +.. exception:: CalledProcessError + + Exception raised when a process run by check_call() or + check_output() returns a non-zero exit status. + The exit status will be stored in the returncode attribute; + check_output() will also store the output in the output attribute. + + .. _frequently-used-arguments: Frequently Used Arguments