MCPcopy Create free account
hub / github.com/freecodexyz/free-code / getSpawnArgs

Function getSpawnArgs

src/utils/shell/bashProvider.ts:200–206  ·  view source on GitHub ↗
(commandString: string)

Source from the content-addressed store, hash-verified

198 },
199
200 getSpawnArgs(commandString: string): string[] {
201 const skipLoginShell = lastSnapshotFilePath !== undefined
202 if (skipLoginShell) {
203 logForDebugging('Spawning shell without login (-l flag skipped)')
204 }
205 return ['-c', ...(skipLoginShell ? [] : ['-l']), commandString]
206 },
207
208 async getEnvironmentOverrides(
209 command: string,

Callers

nothing calls this directly

Calls 1

logForDebuggingFunction · 0.85

Tested by

no test coverage detected