MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getSpawnArgs

Function getSpawnArgs

source code/utils/shell/bashProvider.ts:202–208  ·  view source on GitHub ↗
(commandString: string)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

logForDebuggingFunction · 0.85

Tested by

no test coverage detected