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 berwyn
Recipients benhoyt, berwyn, davidfraser
Date 2009-08-13.01:17:06
SpamBayes Score 3.3797175e-08
Marked as misclassified No
Message-id <1250126229.31.0.432824180134.issue6689@psf.upfronthosting.co.za>
In-reply-to
Content
I agree with the patch, and it works fine:
    /bin/sh -c "gcc --version" gcc --version

But I begin to wonder whether bash has a bug since bash only seems to
observe the string, not the parameters after it.  For example:
    $ bash -c "./printargs.py abc" def ghi jkl
produces:
    ['./printargs.py', 'abc']

where printargs.py is:
    #!/usr/bin/python
    import sys
    print sys.argv

Just something to be aware of.
History
Date User Action Args
2009-08-13 01:17:09berwynsetrecipients: + berwyn, davidfraser, benhoyt
2009-08-13 01:17:09berwynsetmessageid: <1250126229.31.0.432824180134.issue6689@psf.upfronthosting.co.za>
2009-08-13 01:17:07berwynlinkissue6689 messages
2009-08-13 01:17:07berwyncreate