Skip to content

Commit

Permalink
fix: silence stdout dbox command no capture out
Browse files Browse the repository at this point in the history
  • Loading branch information
jardon committed Nov 15, 2024
1 parent e50a5eb commit 461147d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/dbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import (
"os/exec"
"strings"
"syscall"
"io/ioutil"
)

type dbox struct {
Expand Down Expand Up @@ -161,6 +162,8 @@ func (d *dbox) RunCommand(command string, args []string, engineFlags []string, u
return output, err
}

cmd.Stdout = ioutil.Discard

err := cmd.Run()
return nil, err
}
Expand Down

0 comments on commit 461147d

Please sign in to comment.