Why not leave the 2 level quote in the code?
It works correctly when launched via process builder.
It also has the added advantage of dumping something to the console that can be copied & pasted directly into another shell while debugging when you are not going to remember or notice the quotes.