Shell command was ignoring quotes

The shell command was incorrectly treating double quotes as a comment.
They should be parsed as literal double quotes in the context of a shell
command

closes #1045