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

Antoine Pitrou report at bugs.python.org
Fri Nov 2 21:32:11 CET 2012


Antoine Pitrou added the comment:

Is it the "system default shell" or the user's default shell that we want here?

That is, shouldn't we look up `pwd.getpwuid(os.getuid()).pw_shell` ?
(but only when os.getuid() == os.geteuid()?)

----------
nosy: +gregory.p.smith, neologix, pitrou

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


More information about the Python-bugs-list mailing list