MCPcopy Create free account
hub / github.com/AliyahZombie/OctSSH / runLocalCommand

Function runLocalCommand

src/local/runLocalCommand.ts:23–114  ·  view source on GitHub ↗
(params: {
  command: string;
  sudo?: boolean;
  // Extra argv passed to the shell command after `-lc <command>`.
  // This is useful for scripts that want to read "$@" without needing
  // additional escaping.
  shellArgs?: string[];
  options?: ExecOptions;
})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

createOctsshLocalServerFunction · 0.85

Calls 2

selectLocalShellFunction · 0.85
spawnShellFunction · 0.85

Tested by

no test coverage detected