PEP idea: On Windows, subprocess should implicitly support .bat and .cmd scripts by using FindExecutable from win32 API

Marko Rauhamaa marko at pacujo.net
Thu May 7 06:10:36 EDT 2015


Stefan Zimmermann <zimmermann.code at gmail.com>:

> And last but not least, Popen behavior on Windows makes it difficult
> to write OS-independent Python code which calls external commands that
> are not binary by default:

Then, write OS-dependent Python code.

I don't think it's Python's job to pave over OS differences. Java does
that by not offering precious system facilities -- very painful. Python
is taking steps in that direction, but I hope it won't go too far.


Marko



More information about the Python-list mailing list