diff -r e0eb7dea245f Doc/library/subprocess.rst --- a/Doc/library/subprocess.rst Mon Jul 30 04:07:49 2012 -0700 +++ b/Doc/library/subprocess.rst Mon Jul 30 16:12:27 2012 +0300 @@ -172,6 +172,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