New submission from OG7 <ony...@users.sourceforge.net>: communicate is often used in one-liners, but becomes a four-liner if you want to check the process exit status. Adding a check parameter would make it more convenient to get things right and write non-buggy code.
The CalledProcessError requires a cmd argument, which means also adding a cmd member to Popen objects. ---------- messages: 90318 nosy: OG7 severity: normal status: open title: Add check parameter to subprocess.Popen.communicate _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6445> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com