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

Function getSpawnArgs

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

logForDebuggingFunction · 0.50

Tested by

no test coverage detected