From f03e090678fa80fa05b22ddfd67bd289d1766822 Mon Sep 17 00:00:00 2001 From: Jarred Wilson Date: Fri, 15 Nov 2024 13:16:53 +0000 Subject: [PATCH] fix: silence stdout dbox command no capture out --- core/dbox.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/dbox.go b/core/dbox.go index 4a2d49a6..c84d6731 100644 --- a/core/dbox.go +++ b/core/dbox.go @@ -17,6 +17,7 @@ import ( "os/exec" "strings" "syscall" + "io/ioutil" ) type dbox struct { @@ -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 }