Joe Cool <snoop...@gmail.com> added the comment:

Proposed solution:

                if comspec.endswith('sh.exe') or comspec.endswith('sh'):    # 
issue 40467
                    args = '{} -c "{}"'.format (comspec, args)              # 
issue 40467
                else:                                                       # 
issue 40467
                    args = '{} /c "{}"'.format (comspec, args)

----------
nosy: +snoopyjc

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40467>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to