[issue16353] add function to os module for getting path to default shell

R. David Murray report at bugs.python.org
Fri Nov 2 22:28:35 CET 2012


R. David Murray added the comment:

The "system default shell" (which should always be a /bin/sh workalike, I think) should always be the default.  Any other shell should be something that has to be specified explicitly.  At least, that's the way most posix programs work, I think.  As Chris said, different shells can use different syntax, so if you want to write portable code you want to be able to expect /bin/sh by default.

So at a minimum we want a function for the system default shell.  Anything else is a bonus :)

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16353>
_______________________________________


More information about the Python-bugs-list mailing list