Message252358
The Win32 API function linked by eryksun is the correct way to determine whether to include the current directory in the search - the doc specifically refers to matching cmd.exe's behaviour (searching ".;%PATH%" vs. just "%PATH%").
The PATHEXT behaviour should be to look for the name as provided first, followed be appending each extension. So looking for "python" will look for ["python", *("python" + p for p in getenv('PATHEXT').split(';'))] in that order. |
|
Date |
User |
Action |
Args |
2015-10-05 19:58:56 | steve.dower | set | recipients:
+ steve.dower, paul.moore, tim.golden, r.david.murray, zach.ware, eryksun, bobjalex, bar.harel |
2015-10-05 19:58:56 | steve.dower | set | messageid: <1444075136.28.0.336877578087.issue24505@psf.upfronthosting.co.za> |
2015-10-05 19:58:56 | steve.dower | link | issue24505 messages |
2015-10-05 19:58:56 | steve.dower | create | |
|