[issue19264] subprocess.Popen doesn't support unicode on Windows

akira report at bugs.python.org
Sat Mar 22 18:54:30 CET 2014


akira added the comment:

I've checked the source code for 3.4; `subprocess` uses `_winapi.CreateProcess` on Windows [1] that in turn uses `CreateProcessW` [2]. CreateProcessA is not used.

`Popen` should already support Unicode on Windows though I don't see explicit tests for non-ascii arguments or arguments that can't be encoded using `mbcs` character encoding.

[1]: http://hg.python.org/cpython/file/3.4/Lib/subprocess.py#l1063
[2]: http://hg.python.org/cpython/file/3.4/Modules/_winapi.c#l579

----------
nosy: +akira

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


More information about the Python-bugs-list mailing list