This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jafo
Recipients Quigon, christian.heimes, georg.brandl, jafo, jfbastien, zanella
Date 2008-03-20.17:53:45
SpamBayes Score 0.037222765
Marked as misclassified No
Message-id <1206035626.71.0.315321904114.issue1524@psf.upfronthosting.co.za>
In-reply-to
Content
I would agree with Georg that there isn't anything we can do about this.
 I had someone try from the Windows XP command shell and: "dir" "/w"
reports that it can't run the combined command, where: dir /w works just
fine.

My conclusions are:

This is a bug in the Windows shell (which os.system hands the command to).

There is a work-around using "call" as pointed out by Jean-François

The subprocess module is a better match for this, as you pass a tuple to
make quoting unnecessary.

According to the os module documentation, using subprocess is
recommended in preference to using os.system().
History
Date User Action Args
2008-03-20 17:53:46jafosetspambayes_score: 0.0372228 -> 0.037222765
recipients: + jafo, georg.brandl, christian.heimes, Quigon, zanella, jfbastien
2008-03-20 17:53:46jafosetspambayes_score: 0.0372228 -> 0.0372228
messageid: <1206035626.71.0.315321904114.issue1524@psf.upfronthosting.co.za>
2008-03-20 17:53:46jafolinkissue1524 messages
2008-03-20 17:53:45jafocreate