summaryrefslogtreecommitdiffstats
path: root/pkg/commands/oscommands/exec_live_win.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/commands/oscommands/exec_live_win.go')
-rw-r--r--pkg/commands/oscommands/exec_live_win.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/commands/oscommands/exec_live_win.go b/pkg/commands/oscommands/exec_live_win.go
index 83a40fe74..aa17242e3 100644
--- a/pkg/commands/oscommands/exec_live_win.go
+++ b/pkg/commands/oscommands/exec_live_win.go
@@ -5,6 +5,6 @@ package oscommands
// 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 proper way to run commands live on windows
-func RunCommandWithOutputLiveWrapper(c *OSCommand, command string, output func(string) string) error {
- return c.RunCommand(command)
+func RunCommandWithOutputLiveWrapper(c *OSCommand, cmdObj ICmdObj, output func(string) string) error {
+ return c.RunCommand(cmdObj.ToString())
}