In a pragma, when you say
...is implemented by shell command "foo"
in "foo", the rules for escaping quotes are awkward. You don't have to backslash-escape double quotes. (Unless of course they are within other double quote inside "foo", but the double-quotes on the outside of "foo" do not count towards the need-to-escape count.)