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 <1300651458.8.0.75375736286.issue2200@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
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: <1300651458.8.0.75375736286.issue2200@psf.upfronthosting.co.za>
2011-03-20 20:04:18loewislinkissue2200 messages
2011-03-20 20:04:18loewiscreate