[docs] [issue14879] invalid docs for subprocess exceptions with shell=True

anatoly techtonik report at bugs.python.org
Tue May 22 08:09:54 CEST 2012

New submission from anatoly techtonik <techtonik at gmail.com>:

http://docs.python.org/library/subprocess.html#exceptions documentation is wrong at least for the case when shell=True on Linux. An attempt to execute a non-existent file with:

  process = subprocess.Popen("sdfsdf", shell=True, stdout=subprocess.PIPE, stderr=errpipe)
  out, err = process.communicate()
  print out

Results in a message "/bin/sh: sfs: command not found" with no exceptions. Other statements may be invalid too.

assignee: docs at python
components: Documentation, Library (Lib)
messages: 161329
nosy: docs at python, techtonik
priority: normal
severity: normal
status: open
title: invalid docs for subprocess exceptions with shell=True
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4

Python tracker <report at bugs.python.org>

More information about the docs mailing list