I\'d like to invoke bash using a string as input. Something like:
sh -l -c \"./foo\"
I\'d like to do this from Java. Unfortunately, when I
Quotes need to be escaped when inside a string. Instead of writing " write \".
E.g.
strcpy(c, "This is a string \"with\" quotes");