From fd665c394a0580807dbfdc1bd8a1f230751d0a1b Mon Sep 17 00:00:00 2001 From: Paulo Gomes Date: Fri, 22 Nov 2024 21:44:48 +0000 Subject: [PATCH] host-run: Convert output to string Signed-off-by: Paulo Gomes --- cmd/cli/host_run.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/cli/host_run.go b/cmd/cli/host_run.go index 8b8b1c0..167309a 100644 --- a/cmd/cli/host_run.go +++ b/cmd/cli/host_run.go @@ -39,10 +39,10 @@ qubesome host-run -profile firefox - Run firefox on the host and d return err } - c := exec.Command(commandName) + c := exec.Command(commandName, cmd.Args().Slice()...) //nolint c.Env = append(c.Env, fmt.Sprintf("DISPLAY=:%d", prof.Display)) out, err := c.CombinedOutput() - fmt.Println(out) + fmt.Println(string(out)) return err },