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 davidfraser
Recipients benhoyt, berwyn, davidfraser
Date 2009-08-14.08:21:00
SpamBayes Score 0.0012810442
Marked as misclassified No
Message-id <1250238064.13.0.726820676582.issue6689@psf.upfronthosting.co.za>
In-reply-to
Content
Ah, upon closer inspection - the special parameters $0 $1 $2 etc
mentioned in the sh docs refer to parameters within the command string,
so that:
   sh -c 'echo $2 $0 $1' run for "the people"
produces:
   the people run for

So the correct patch would be to leave out the extra parameters and just
have the quoted string...

The question then becomes, is simple " ".join(args) sufficient or should
there be some quoting of them... attaching a patch in the meantime
although that needs to be resolved.
History
Date User Action Args
2009-08-14 08:21:04davidfrasersetrecipients: + davidfraser, benhoyt, berwyn
2009-08-14 08:21:04davidfrasersetmessageid: <1250238064.13.0.726820676582.issue6689@psf.upfronthosting.co.za>
2009-08-14 08:21:02davidfraserlinkissue6689 messages
2009-08-14 08:21:01davidfrasercreate