MCPcopy Index your code
hub / github.com/codeaashu/claude-code / createAbortedCommand

Function createAbortedCommand

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

Source from the content-addressed store, hash-verified

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

Callers 1

execFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected