[Python-bugs-list] [ python-Bugs-575770 ] os.spawnv() fails with underscores
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 04 Jul 2002 22:52:36 -0700
Bugs item #575770, was opened at 2002-07-01 00:15
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=575770&group_id=5470
Category: Python Library
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Chris Rodrigues (nokta_kanto)
Assigned to: Nobody/Anonymous (nobody)
Summary: os.spawnv() fails with underscores
Initial Comment:
I'm running Python 2.2 in Windows 98.
When trying to os.spawnv() a program in a path that contains an
underscore, the program does not run but no error message is
printed. This error happens in the dos version of Python 2.2, but
not in IDLE.
I detected the error by creating a DOS program that returns the
recognizable value 111. If I call that file "c:\ret111.exe" and run it with
the following command:
os.spawnv( os.P_WAIT, progname, [progname] )
where progname is the full path and name of the program, then the
function returns the value 111. If I put that file in
"c:\pulse_prog\ret111.exe", and run the same command with the new
value of progname, then the return value is 111 in IDLE but 0 in
dos-prompt python.
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2002-07-05 07:52
Message:
Logged In: YES
user_id=21627
Can you please attach the test program to this report?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=575770&group_id=5470