This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author loewis
Recipients BreamoreBoy, abbot, alexis, christian.heimes, eric.araujo, loewis, tarek, techtonik
Date 2011-03-20.20:04:17
SpamBayes Score 3.08835e-07
Marked as misclassified No
Message-id <>
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.
Date User Action Args
2011-03-20 20:04:18loewissetrecipients: + loewis, techtonik, christian.heimes, tarek, abbot, eric.araujo, alexis, BreamoreBoy
2011-03-20 20:04:18loewissetmessageid: <>
2011-03-20 20:04:18loewislinkissue2200 messages
2011-03-20 20:04:18loewiscreate