Message91511
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. |
|
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 | |
|