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
That's a list, those are strings in it, so they need quotes:
["myscript.sh", "var=11; ignore all", "/path/to/files"]
That should work. If your script really somehow relies on quotes, then try this (I don't know the details of how subprocess works):
["myscript.sh", "'var=11; ignore all'", "/path/to/files"]