MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / shellCommand

Function shellCommand

projects/runtime-node/src/localPty.ts:38–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38function shellCommand(): string {
39 if (process.platform === "win32") return "powershell.exe"
40 return process.env.SHELL || "/bin/bash"
41}
42
43function bufferOutput(state: ActivePty, data: string): void {
44 state.output.push(data)

Callers 1

spawnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected