Author steve.dower
Recipients bhou, larry, paul.moore, r.david.murray, steve.dower, tim.golden, zach.ware
Date 2015-09-07.04:19:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441599594.32.0.53531544379.issue25005@psf.upfronthosting.co.za>
In-reply-to
Content
To be more specific, with patch 1 applied:

subprocess.call("start file a&b>x", shell=True)

is equivalent to typing the following at a command prompt:

start file a & b > x

That is, "start file a" and then do "b", redirecting the output from "b" to a file named "x".

With the change to os.startfile, we can write it as this:

os.startfile("file", "open", "a&b>x")

Which matches what we intended above. (startfile implies "start <first argument>", and passes the third argument to the launched program without modification.)
History
Date User Action Args
2015-09-07 04:19:54steve.dowersetrecipients: + steve.dower, paul.moore, larry, tim.golden, r.david.murray, zach.ware, bhou
2015-09-07 04:19:54steve.dowersetmessageid: <1441599594.32.0.53531544379.issue25005@psf.upfronthosting.co.za>
2015-09-07 04:19:54steve.dowerlinkissue25005 messages
2015-09-07 04:19:53steve.dowercreate