This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author techtonik
Recipients docs@python, techtonik
Date 2012-05-22.06:09:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337666994.08.0.287605633225.issue14879@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-05-22 06:09:54techtoniksetrecipients: + techtonik, docs@python
2012-05-22 06:09:54techtoniksetmessageid: <1337666994.08.0.287605633225.issue14879@psf.upfronthosting.co.za>
2012-05-22 06:09:53techtoniklinkissue14879 messages
2012-05-22 06:09:53techtonikcreate