I\'m having a problem with subprocess and printing quotes.
My Python script takes user input, mashes it around a bit - and I need it to send it\'s results to a bash
I haven't checked why this works, but it does and without the need for shell=True.
subprocess.Popen(["/bin/bash", "myscript.sh", '""' + string_to_be_quoted + '""', path_to_files])