On Mon, 04 Apr 2016 13:54:56 -0600, Ian Kelly wrote: > 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
Thank you, that fixed the problem. It did occur to me that the problem was in how "command" was put together but I wasn't sure. A rookie mistake from a rookie. Whoda thunk it? -- <Wildman> GNU/Linux user #557453 Why is it that all instruments seeking intelligent life in the universe are pointed away from Earth? -- https://mail.python.org/mailman/listinfo/python-list