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 <rep...@bugs.python.org>
<http://bugs.python.org/issue16353>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to