mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-24 05:35:15 +00:00
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:
parent
09ce30c433
commit
8a5a6852ca
1 changed files with 3 additions and 0 deletions
|
|
@ -114,6 +114,9 @@ export namespace Format {
|
|||
cwd: Instance.directory,
|
||||
env: item.environment,
|
||||
extendEnv: true,
|
||||
stdin: "ignore",
|
||||
stdout: "ignore",
|
||||
stderr: "ignore",
|
||||
}),
|
||||
)
|
||||
.pipe(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue