Skip to content

Commit fd665c3

Browse files
committed
host-run: Convert output to string
Signed-off-by: Paulo Gomes <[email protected]>
1 parent fcdd652 commit fd665c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/cli/host_run.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ qubesome host-run -profile <profile> firefox - Run firefox on the host and d
3939
return err
4040
}
4141

42-
c := exec.Command(commandName)
42+
c := exec.Command(commandName, cmd.Args().Slice()...) //nolint
4343
c.Env = append(c.Env, fmt.Sprintf("DISPLAY=:%d", prof.Display))
4444
out, err := c.CombinedOutput()
45-
fmt.Println(out)
45+
fmt.Println(string(out))
4646

4747
return err
4848
},

0 commit comments

Comments
 (0)