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 chops@demiurgestudios.com
Recipients chops@demiurgestudios.com
Date 2007-10-18.17:40:54
SpamBayes Score 0.034065075
Marked as misclassified No
Message-id <1192729254.96.0.285794085895.issue1300@psf.upfronthosting.co.za>
In-reply-to
Content
I expected subprocess.list2cmdline() to convert my list of arguments
into a command line which results in behavior equivalent to the Unix
exec() functions -- that is, that I can safely pass arbitrary characters
to it and it'll make it such that those characters are escaped.  It
looks to me, though, like it doesn't handle the pipe symbol, so that if
I call list2cmdline(['echo', 'foo|bar']), I get the command line 'echo
foo|bar' instead of 'echo "foo|bar"' as I would expect.

If this is actually a result of my misunderstanding (or if it's fixed in
a more recent version), please accept my apologies.
History
Date User Action Args
2007-10-18 17:40:55chops@demiurgestudios.comsetspambayes_score: 0.0340651 -> 0.034065075
recipients: + chops@demiurgestudios.com
2007-10-18 17:40:54chops@demiurgestudios.comsetspambayes_score: 0.0340651 -> 0.0340651
messageid: <1192729254.96.0.285794085895.issue1300@psf.upfronthosting.co.za>
2007-10-18 17:40:54chops@demiurgestudios.comlinkissue1300 messages
2007-10-18 17:40:54chops@demiurgestudios.comcreate