[issue2200] find_executable fails to find .bat files on win32

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue2200] find_executable fails to find .bat files on win32

2014-08-10 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- components: -Distutils2 nosy: +dstufft versions: +Python 3.4, Python 3.5 -3rd party, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2200

[issue2200] find_executable fails to find .bat files on win32

2014-02-03 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: -BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2200 ___ ___

[issue2200] find_executable fails to find .bat files on win32

2011-03-20 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Martin, could you please review patch file11359? -- nosy: +loewis versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2200

[issue2200] find_executable fails to find .bat files on win32

2011-03-20 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de 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)

[issue2200] find_executable fails to find .bat files on win32

2011-02-13 Thread Alexis Metaireau
Alexis Metaireau ale...@notmyidea.org added the comment: Have the patch been applied ? (the state is still open since last message) -- nosy: +alexis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2200

[issue2200] find_executable fails to find .bat files on win32

2011-02-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Not yet. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2200 ___ ___ Python-bugs-list mailing

[issue2200] find_executable fails to find .bat files on win32

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- versions: +3rd party ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2200 ___ ___ Python-bugs-list

[issue2200] find_executable fails to find .bat files on win32

2010-09-21 Thread Lev Shamardin
Lev Shamardin shamar...@gmail.com added the comment: My use case was compiling PyQt4 resources and Qt Designer .ui files from setup script using pyrcc4 and pyuic4 commands. On windows pyrcc4 is actually a pyrcc4.bat file (at least it was at the time of the original bug submission - haven't

[issue2200] find_executable fails to find .bat files on win32

2010-09-21 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: I believe I had problems with SCons and other .py scripts that are installed as executable .bat files on Windows. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2200

[issue2200] find_executable fails to find .bat files on win32

2010-09-21 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Another use case for .bat files is adddin extra params for executable files. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2200

[issue2200] find_executable fails to find .bat files on win32

2010-09-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for the use cases. I agree this is a bug, not a feature, so unless Tarek disagrees I will commit the last patch. I'm not sure this requires tests. -- assignee: tarek - eric.araujo resolution: - accepted stage: - patch review

[issue2200] find_executable fails to find .bat files on win32

2010-09-20 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: I think distutils changes should be aimed at several versions, please correct them if I'm wrong. -- nosy: +BreamoreBoy, eric.araujo versions: +Python 2.5, Python 2.6, Python 3.1, Python 3.2

[issue2200] find_executable fails to find .bat files on win32

2010-09-20 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: distutils bugs follow standard Python rules: They are fixed in stable and development branches, now 2.7, 3.1 and py3k. If there is a security hazard, the fix would go into 2.6 and possibly 2.5 too. distutils2 has to work with 2.4-2.7 and

[issue2200] find_executable fails to find .bat files on win32

2010-09-20 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Could someone provide use cases for this change? What programs which were not .exe did you need to run though distutils? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2200

[issue2200] find_executable fails to find .bat files on win32

2010-08-03 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: -Python 2.5, Python 2.6, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2200 ___

[issue2200] find_executable fails to find .bat files on win32

2009-02-28 Thread Akira Kitada
Changes by Akira Kitada akit...@gmail.com: -- assignee: - tarek components: +Windows nosy: +tarek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2200 ___

[issue2200] find_executable fails to find .bat files on win32

2008-09-03 Thread anatoly techtonik
anatoly techtonik [EMAIL PROTECTED] added the comment: I've run into the same problem. Attached patch (updated with Lev code) is almost the same except that it doesn't attempt to return executable files without executable extension. It also accounts that os2 executables can have arbitrary

[issue2200] find_executable fails to find .bat files on win32

2008-09-03 Thread anatoly techtonik
Changes by anatoly techtonik [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file11358/spawn.patch.txt ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2200 ___

[issue2200] find_executable fails to find .bat files on win32

2008-09-03 Thread anatoly techtonik
Changes by anatoly techtonik [EMAIL PROTECTED]: Added file: http://bugs.python.org/file11359/spawn.patch.txt ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2200 ___

[issue2200] find_executable fails to find .bat files on win32

2008-03-03 Thread Lev Shamardin
Lev Shamardin added the comment: I can't see this issue on the 'open issues' list nor in the search results. Is something wrong? __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2200 __

[issue2200] find_executable fails to find .bat files on win32

2008-03-02 Thread Lev Shamardin
Lev Shamardin added the comment: Here is my vision of this patch. I don't think that it is necessary to fall back to 'com/exe/bat' if PATHEXT is not set, since it must be set on any correctly configured Win32 platform. -- keywords: +patch Added file:

[issue2200] find_executable fails to find .bat files on win32

2008-03-01 Thread Christian Heimes
Christian Heimes added the comment: Can you provide a patch which uses PATHEXT and falls back to .com, .exe and .bat? -- nosy: +tiran priority: - normal __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2200 __

[issue2200] find_executable fails to find .bat files on win32

2008-02-28 Thread Lev Shamardin
New submission from Lev Shamardin: distutils.spawn.find_executable appends '.exe' suffix on win32 and os2 platforms. This is incorrect behavior, since it prevents finding .bat, .cmd and other similar files. Ether all extensions from the %PATHEXT% must be checked or filenames both with appended