[New-bugs-announce] [issue16353] add function to os module for getting path to default shell

Chris Jerdonek report at bugs.python.org
Mon Oct 29 02:19:20 CET 2012


New submission from Chris Jerdonek:

This issue is to add a function to the os module for getting the path to the default shell (e.g. os.getdefaultshell()).

In issue 16255, it was reported that on Android, the path to the default shell is "/system/bin/sh" rather than "/bin/sh" which it is on other Unix systems.

Such a function in the os module would implement the necessary detection logic which could then be used, for example, by the subprocess module when invoking Popen() with shell=True (e.g. for issue 16255).

----------
components: Library (Lib)
messages: 174093
nosy: chris.jerdonek
priority: normal
severity: normal
status: open
title: add function to os module for getting path to default shell
type: enhancement
versions: Python 3.4

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


More information about the New-bugs-announce mailing list