function escapeShellArg(arg) {
  return arg.replace(/"/g, `""`);
}
The software constructs a string for a command to executed by a separate component
in another control sphere, but it does not properly delimit the
intended arguments, options, or switches within that command string.