Peter Otten wrote: >> r'-f -F', >> r'-H', '"%s"' % title, > > "title" becomes \"title\", i. e. Python puts in an extra effort to have > the quotes survive the subsequent parsing process of the shell: > >>>> print subprocess.list2cmdline(['"title"']) > \"title\" Forget that :( Danny spotted the real problem.