[issue14242] Make subprocess.Popen aware of $SHELL

2012-03-10 Thread Gregory P. Smith
Gregory P. Smith added the comment: Users who want to use the SHELL environment variable can do so on their own by using it as their executable and constructing an appropriate command line. Allowing an environment variable to change the behavior of a program that assumes shell=True is going

[issue14242] Make subprocess.Popen aware of $SHELL

2012-03-10 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: POSIX documents SHELL variable: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html -- nosy: +Arfrever ___ Python tracker

[issue14242] Make subprocess.Popen aware of $SHELL

2012-03-10 Thread Éric Araujo
Éric Araujo added the comment: Note that it’s already possible to use any shell with the “executable” argument. Is there any official spec (i.e. POSIX) for the SHELL environment variable? -- nosy: +eric.araujo ___ Python tracker

[issue14242] Make subprocess.Popen aware of $SHELL

2012-03-10 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +gregory.p.smith versions: -Python 2.7, Python 3.1, Python 3.2, Python 3.4 ___ Python tracker ___ __

[issue14242] Make subprocess.Popen aware of $SHELL

2012-03-09 Thread Dan Colish
New submission from Dan Colish : 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