[ python-Bugs-1252733 ] os.system on win32 can't handle pathnames with spaces

SourceForge.net noreply at sourceforge.net
Fri Aug 5 19:55:20 CEST 2005


Bugs item #1252733, was opened at 2005-08-05 20:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1252733&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Ori Avtalion (salty-horse)
Assigned to: Nobody/Anonymous (nobody)
Summary: os.system on win32 can't handle pathnames with spaces

Initial Comment:
when calling os.system("file with spaces.exe"), Windows
outputs the following:

'file' is not recognized as an internal or external
command,
operable program or batch file.

I tried quoting the filename. Still got the same error.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1252733&group_id=5470


More information about the Python-bugs-list mailing list