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.
This commit is contained in:
Kit Langton
2026-03-27 19:43:39 -04:00
parent 09ce30c433
commit 8a5a6852ca

View File

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