MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / onStderr

Function onStderr

apps/desktop/src/main/sidecar.ts:353–358  ·  view source on GitHub ↗
(chunk: Buffer)

Source from the content-addressed store, hash-verified

351 };
352
353 const onStderr = (chunk: Buffer) => {
354 const text = chunk.toString("utf8");
355 stderrBuffer = (stderrBuffer + text).slice(-STDERR_TAIL_LIMIT);
356 process.stderr.write(`[executor-server] ${text}`);
357 logStderrLine(text);
358 };
359
360 const onExit = (code: number | null, signal: NodeJS.Signals | null) => {
361 if (resolved) {

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected