View Issue Details

IDProjectCategoryView StatusLast Update
0000268Other Unix PortBugpublic2022-05-14 06:37
Reporterguerfyld Assigned Topsmedley  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionwon't fix 
Summary0000268: python can't be used as EXTPROC in cmd files
DescriptionThis small python program (test.cmd) :

extproc c:\python25\python -x
# Test
print "Hello World!"

work only if call from folder where it is.

[C:\folder]test.cmd
Hello World!

[C:\]test.cmd
c:\python25\python: can't open file 'test.cmd': [Errno 2] No such file or direct
ory

[C:\]c:\folder\test.cmd
c:\python25\python: can't open file 'test.cmd': [Errno 2] No such file or direct
ory

Additional InformationPython 2.5.2 (r252:60911, Apr 29 2008, 17:11:57)
[GCC 3.3.5 (Bird Build 2007-06-10 14:30)] on os2knix
TagsNo tags attached.

Activities

psmedley

2009-04-12 12:09

administrator   ~0001280

I can reproduce this with both EMX builds of Python 2.4.4 and my latest Python 2.6.2c1

psmedley

2009-04-12 12:11

administrator   ~0001281

I suspect it's a problem with the extproc parameter not passing the full path to python

psmedley

2022-05-14 06:37

administrator   ~0004249

Please test with a supported release and if this is still an issue, open a new ticket.

Issue History

Date Modified Username Field Change
2008-08-22 16:32 guerfyld New Issue
2009-04-12 12:09 psmedley Status new => assigned
2009-04-12 12:09 psmedley Assigned To => psmedley
2009-04-12 12:09 psmedley Note Added: 0001280
2009-04-12 12:11 psmedley Note Added: 0001281
2022-05-14 06:37 psmedley Status assigned => resolved
2022-05-14 06:37 psmedley Resolution open => won't fix
2022-05-14 06:37 psmedley Note Added: 0004249