View Issue Details

IDProjectCategoryView StatusLast Update
0000268Other Unix PortBugpublic2009-04-12 21:41
ReporterguerfyldAssigned Topsmedley 
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
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 21:39

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 21:41

administrator   ~0001281

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

Issue History

Date Modified Username Field Change
2008-08-23 02:02 guerfyld New Issue
2009-04-12 21:39 psmedley Status new => assigned
2009-04-12 21:39 psmedley Assigned To => psmedley
2009-04-12 21:39 psmedley Note Added: 0001280
2009-04-12 21:41 psmedley Note Added: 0001281