You can try to use `spawnCommand` to see if it works, you shouldn't use `escapeShellArg` when using spawn - escaping is done automatically by Node.