diff --git a/pkg/commands/exec_live_win.go b/pkg/commands/exec_live_win.go index 835d7da68..d97274279 100644 --- a/pkg/commands/exec_live_win.go +++ b/pkg/commands/exec_live_win.go @@ -5,5 +5,6 @@ package commands // RunCommandWithOutputLiveWrapper runs a command live but because of windows compatibility this command can't be ran there // TODO: Remove this hack and replace it with a propper way to run commands live on windows func RunCommandWithOutputLiveWrapper(c *OSCommand, command string, output func(string) string) (errorMessage string, codeError error) { - return errorMessage, c.RunCommand(command) + cmdOputput := c.RunCommand(command) + return cmdOputput.Error(), cmdOputput }