Martin v. Löwis <[email protected]> added the comment:
I think the patch is incorrect. Parsing PATHEXT means that it will believe that
all extensions listed on PATHEXT are executable. However, os.spawnv is not able
to run them all, but only a subset. IIUC, spawnv supports (from spawnve.c)
static _TSCHAR *ext_strings[] = { _T(".cmd"), _T(".bat"), _T(".exe"),
_T(".com") };
PATHEXT typically includes also .js and other extensions which cannot be run
through spawnv.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue2200>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com