deepseek-ai/deepseek-harness · error · Error
signal ${signal} is unsupported on Windows; only SIGINT, SIG
Error message
signal ${signal} is unsupported on Windows; only SIGINT, SIGTERM, and SIGKILL are available What it means
Error "signal ${signal} is unsupported on Windows; only SIGINT, SIGTERM, and SIGKILL are available" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/subprocess/subprocess-local/src/terminal.ts:113
async signalForeground(signal: SubprocessTerminalSignal): Promise<number> {
const foreground = await this.inspectForeground()
if (foreground === undefined) {
throw new Error(`cannot resolve foreground process group for terminal ${this.pid}`)
}
if (signal === 'SIGKILL' && foreground.processGroupId === this.pid) {
throw new Error('refusing to SIGKILL the terminal shell; terminate the terminal session instead')
}
if (this.platform === 'win32') {
if (signal === 'SIGINT') {
// Windows has no process-group signalling: a `\x03` input write is the
// Ctrl-C delivery path conhost turns into a console-wide CTRL_C event
// for attached processes. node-pty's signal kills throw on Windows, so
// no signal ever reaches the inspector.
this.terminal.write('\x03')
return foreground.processGroupId
}
if (signal === 'SIGTSTP' || signal === 'SIGHUP') {
throw new Error(`signal ${signal} is unsupported on Windows; only SIGINT, SIGTERM, and SIGKILL are available`)
}
}
this.inspector.signalGroup(foreground.processGroupId, signal)
return foreground.processGroupId
}
terminate(): Promise<void> {
if (this.cleanup !== undefined) return this.cleanup
const cleanup = this.closeOnce()
this.cleanup = cleanup
void cleanup.catch(() => { this.cleanup = undefined })
return cleanup
}
/**
* Force-terminate the observable session synchronously during Node's exit
* event. This does not claim quiescence and does not replace terminate().
*/View on GitHub (pinned to b150a551b8)
Solutions
- Use SIGINT, SIGTERM, or SIGKILL on Windows; other signals are unsupported.
When it happens
Trigger: Thrown at packages/subprocess/subprocess-local/src/terminal.ts:113 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of deepseek-ai/deepseek-harness@b150a551b8 (2026-08-24).
Data as JSON: /api/errors/b54ff1d94bcc74ab.
Report an issue: GitHub.