New submission from Dan Colish <dcol...@gmail.com>: The hardcoding of /bin/sh in the Popen _execute_child method can be a point of frustration when so many users are used to their chosen environment shell. The module can easily support the re-use of the defined $SHELL variable. I've attached a patch which gives one way of doing this. Before I get into writing tests for this, I wanted to float the idea of adding this feature.
---------- components: Library (Lib) files: popen_shell.diff keywords: patch messages: 155274 nosy: dcolish priority: normal severity: normal status: open title: Make subprocess.Popen aware of $SHELL type: enhancement versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4 Added file: http://bugs.python.org/file24772/popen_shell.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14242> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com