fix(format): set stdin/stdout/stderr to ignore for formatter subprocesses

ChildProcess.make defaults to "pipe" for all stdio streams. Formatters
that wait on stdin EOF or write enough output to fill pipe buffers would
hang. Matches the original Process.spawn behavior.
kit/format-child-process-spawner
Kit Langton 2026-03-27 19:43:39 -04:00
parent 09ce30c433
commit 8a5a6852ca
1 changed files with 3 additions and 0 deletions

View File

@ -114,6 +114,9 @@ export namespace Format {
cwd: Instance.directory,
env: item.environment,
extendEnv: true,
stdin: "ignore",
stdout: "ignore",
stderr: "ignore",
}),
)
.pipe(