Author jafo
Recipients Quigon, christian.heimes, georg.brandl, jafo, jfbastien, zanella
Date 2008-03-20.17:53:45
SpamBayes Score 0.0372228
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.0372228
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