# Fix shell: true side effects on Windows \(orphaned processes, swallowed ENOENT\) · gitcafe/t3code

[View on GitCafe](https://git.cafe/gitcafe/t3code/commit/2ae63f4aa2a2af7b0ed605582aef7c9025297e13)

Repository: [gitcafe/t3code](https://git.cafe/gitcafe/t3code)

Visibility: public

Requested revision: 2ae63f4aa2a2af7b0ed605582aef7c9025297e13

Requested commit: 2ae63f4aa2a2af7b0ed605582aef7c9025297e13

Commit: 2ae63f4aa2a2af7b0ed605582aef7c9025297e13

Tree: 11c96812181337393372866ad02bdf5b82d2b363

Author: julius

Committer: Julius Marminge

## Message

```
Fix shell: true side effects on Windows (orphaned processes, swallowed ENOENT)

Add tree-kill via taskkill /T /F in processRunner and codexAppServerManager so timeout enforcement and session stop properly terminate the entire process tree instead of just the cmd.exe wrapper. Detect Windows command not found (exit 9009) in normalizeExitError. Pre-validate editor commands with isCommandAvailable in open.ts before spawning. Fix ProviderHealth test import and dev-runner test path assertion for Windows.

Made-with: Cursor

```

## Parents

- [3d0233e3b0071ba3cab0d0a8a3585d955979e234](https://git.cafe/gitcafe/t3code/commit/3d0233e3b0071ba3cab0d0a8a3585d955979e234?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/t3code/tree/2ae63f4aa2a2af7b0ed605582aef7c9025297e13?format=markdown)
