Message91511
| 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:09 | berwyn | set | recipients:
+ berwyn, davidfraser, benhoyt |
| 2009年08月13日 01:17:09 | berwyn | set | messageid: <1250126229.31.0.432824180134.issue6689@psf.upfronthosting.co.za> |
| 2009年08月13日 01:17:07 | berwyn | link | issue6689 messages |
| 2009年08月13日 01:17:07 | berwyn | create |
|