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

Antoine Pitrou report at bugs.python.org
Fri Nov 2 21:53:40 CET 2012


Antoine Pitrou added the comment:

> The system default shell is what I had in mind when filing this issue
> (i.e. what Popen() uses by default or, in the case of Android, what
> Popen() should use).

Well, the question then becomes whether Popen() shouldn't use the user's
default shell instead? :)
It probably doesn't make much of a difference in most cases, though.
Also, there's the problem that some special users may have a void shell
entry (or /bin/false or /sbin/nologin), to prevent a human from logging
in as them.

----------

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


More information about the Python-bugs-list mailing list