Andrew Svetlov added the comment:

I guess to return sh if supported, cmd.exe for Windows.
The reason is: other shells can have different calling agreements (I mean rules 
to process command line).
subprocess intended to use by library writers, so we need solid well known 
basis.

There are another option — provide two functions: first for shell in terms of 
subprocess requirements and second will return actual user shell.
I like it.

----------

_______________________________________
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