Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

6 pages for exitcode.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

text-editor-tool Claude Developer Platform · in the page agents-and-tools/tool-use/text-editor-tool …i)!; proc.WaitForExit(); if (proc.ExitCode != 0) { return $"Verification failed: {proc.StandardError.ReadToEnd()}";… mid-conversation-effort-example Claude Developer Platform · in the page build-with-claude/mid-conversation-effort-example …CONDS}s`, isError: true }); return; } const exitCode = error === null ? 0 : typeof error.code === "number" ? error.code : 1; let output = (stdout + stderr).trim() ||… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …Writable; stdout: Readable; readonly killed: boolean; readonly exitCode: number | null; kill(signal: NodeJS.Signals): boolean; on( event: "exit", listener: (code: number | null, sig… Use the mods API Claude Code CLI · in the page plugins/mods/api …s.run`**: takes an argument list and uses no shell. It resolves to `{ exitCode, stdout, stderr }` whatever the exit code. It rejects if the program can't start or is still running at the timeout, whic… React to events with a mod Claude Code CLI · in the page plugins/mods/events …t repository the command fails, so there's no branch to add if (git.exitCode !== 0) return next(e) // Keep any context an earlier hook added, and add one more line for Claude return next({ ...e,… Test a mod Claude Code CLI · in the page plugins/mods/test …text: '...', usage } })` | | `$.process.run` | `($, e) => ({ value: { exitCode: 0, stdout: '...', stderr: '' } })`. `e.argv` is the argument list and `e.init` holds `cwd` and `timeoutMs`. | | Any mods…
Feedback