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 d4rk1
Recipients Quigon, christian.heimes, d4rk1, georg.brandl, jafo, jfbastien, zanella
Date 2008-06-25.07:57:37
SpamBayes Score 0.13354118
Marked as misclassified No
Message-id <1214380660.54.0.719781470718.issue1524@psf.upfronthosting.co.za>
In-reply-to
Content
Got similiar problem. Think it's a thing with the pipe '>'.

Try calling the windows-shell (e.g. C:\WINDOWS\system32\cmd.exe) with
'/C' and your comman dline after that (in quotes).
> subprocess.call(r'C:\WINDOWS\system32\cmd.exe /C "YourCommand >
YourOutput"')

For me it works when there are now newlines in YourCommand and YourOutput.
History
Date User Action Args
2008-06-25 07:57:41d4rk1setspambayes_score: 0.133541 -> 0.13354118
recipients: + d4rk1, georg.brandl, jafo, christian.heimes, Quigon, zanella, jfbastien
2008-06-25 07:57:40d4rk1setspambayes_score: 0.133541 -> 0.133541
messageid: <1214380660.54.0.719781470718.issue1524@psf.upfronthosting.co.za>
2008-06-25 07:57:39d4rk1linkissue1524 messages
2008-06-25 07:57:38d4rk1create