Message26887
| Author |
dr7eus |
| Recipients |
| Date |
2005年11月16日.08:23:41 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
If you try and include arguments to the shell in
subprocess you get a traceback:
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.4/subprocess.py", line 558, in
__init__
errread, errwrite)
File "/usr/lib/python2.4/subprocess.py", line 907, in
_execute_child
args = ["/bin/sh", "-c"] + args
TypeError: can only concatenate list (not "tuple") to list
A simple list() should solve the issue. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 14:36:15 | admin | link | issue1357915 messages |
| 2007年08月23日 14:36:15 | admin | create |
|