Message291755
Note the subtlety here on unix:
rdmurray@pydev:~/python/p36[3.6]>cat temp.sh
#!/bin/bash
echo $0
echo $1
>>> subprocess.call(['./temp.sh', 'spam', 'eggs'], shell=True)
./temp.sh
0
>>> subprocess.call(['./temp.sh $0 $1', 'spam', 'eggs'], shell=True)
./temp.sh
spam
eggs
0 |
|
Date |
User |
Action |
Args |
2017-04-16 16:49:50 | r.david.murray | set | recipients:
+ r.david.murray, docs@python, eryksun, iMath |
2017-04-16 16:49:50 | r.david.murray | set | messageid: <1492361390.81.0.515305960715.issue30079@psf.upfronthosting.co.za> |
2017-04-16 16:49:50 | r.david.murray | link | issue30079 messages |
2017-04-16 16:49:50 | r.david.murray | create | |
|