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 eryksun
Recipients Jan Studený, eryksun, r.david.murray
Date 2015-08-23.23:16:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1440371801.14.0.399813832756.issue24919@psf.upfronthosting.co.za>
In-reply-to
Content
Here's the rationale given for ignoring SHELL in POSIX system():

    One reviewer suggested that an implementation of system() might
    want to use an environment variable such as SHELL to determine
    which command interpreter to use. The supposed implementation
    would use the default command interpreter if the one specified
    by the environment variable was not available. This would allow
    a user, when using an application that prompts for command lines
    to be processed using system(), to specify a different command
    interpreter. Such an implementation is discouraged. If the
    alternate command interpreter did not follow the command line
    syntax specified in the Shell and Utilities volume of
    POSIX.1-2008, then changing SHELL would render system()
    non-conforming. This would affect applications that expected the
    specified behavior from system(), and since the Shell and
    Utilities volume of POSIX.1-2008 does not mention that SHELL
    affects system(), the application would not know that it needed
    to unset SHELL.
History
Date User Action Args
2015-08-23 23:16:41eryksunsetrecipients: + eryksun, r.david.murray, Jan Studený
2015-08-23 23:16:41eryksunsetmessageid: <1440371801.14.0.399813832756.issue24919@psf.upfronthosting.co.za>
2015-08-23 23:16:41eryksunlinkissue24919 messages
2015-08-23 23:16:40eryksuncreate