On Mon, Apr 4, 2016 at 1:42 PM, Wildman via Python-list <python-list@python.org> wrote: > commandlist = commandlist.split(",")
commandlist is a list. > command = [target, commandlist] > subprocess.Popen(command) This is passing a list containing two elements: the first is a string, and the second is a list of strings. You should just pass a list of strings. Probably you wanted to do this: command = [target] + commandlist -- https://mail.python.org/mailman/listinfo/python-list