Bugs item #1357915, was opened at 2005-11-16 09:23
Message generated for change (Settings changed) made by birkenfeld
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1357915&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Pierre Ossman (dr7eus)
>Assigned to: Peter Åstrand (astrand)
Summary: suprocess cannot handle shell arguments

Initial Comment:
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1357915&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to