mirror of
https://github.com/sst/opencode.git
synced 2025-08-30 17:57:25 +00:00
do not output bunproc
This commit is contained in:
parent
b536b45536
commit
e3ad6a0698
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,3 @@
|
||||||
import path from "path"
|
|
||||||
import { Log } from "../util/log"
|
import { Log } from "../util/log"
|
||||||
export namespace BunProc {
|
export namespace BunProc {
|
||||||
const log = Log.create({ service: "bun" })
|
const log = Log.create({ service: "bun" })
|
||||||
|
@ -13,6 +12,8 @@ export namespace BunProc {
|
||||||
})
|
})
|
||||||
const result = Bun.spawn([which(), ...cmd], {
|
const result = Bun.spawn([which(), ...cmd], {
|
||||||
...options,
|
...options,
|
||||||
|
stdout: "pipe",
|
||||||
|
stderr: "pipe",
|
||||||
env: {
|
env: {
|
||||||
...process.env,
|
...process.env,
|
||||||
...options?.env,
|
...options?.env,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue