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

Function createAbortedCommand

source code/utils/ShellCommand.ts:439–447  ·  view source on GitHub ↗
(
  backgroundTaskId?: string,
  opts?: { stderr?: string; code?: number },
)

Source from the content-addressed store, hash-verified

437}
438
439export function createAbortedCommand(
440 backgroundTaskId?: string,
441 opts?: { stderr?: string; code?: number },
442): ShellCommand {
443 return new AbortedShellCommand({
444 backgroundTaskId,
445 ...opts,
446 })
447}
448
449export function createFailedCommand(preSpawnError: string): ShellCommand {
450 const taskOutput = new TaskOutput(generateTaskId('local_bash'), null)

Callers 1

execFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected