summaryrefslogtreecommitdiffstats
path: root/pkg/commands/exec_live_win.go
diff options
context:
space:
mode:
authormjarkk <mkopenga@gmail.com>2018-10-27 14:35:07 +0200
committermjarkk <mkopenga@gmail.com>2018-10-27 14:35:07 +0200
commite47c597b3a2d1101984bd7f402a0ca761fbf7169 (patch)
treec5be3a50024315ba4fd4fe9b233bb8c396f6c862 /pkg/commands/exec_live_win.go
parentac03665df34e8be89672fb98e202b182d745fdaf (diff)
Made it possible to build again for windows
Diffstat (limited to 'pkg/commands/exec_live_win.go')
-rw-r--r--pkg/commands/exec_live_win.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/commands/exec_live_win.go b/pkg/commands/exec_live_win.go
new file mode 100644
index 000000000..419eef5f2
--- /dev/null
+++ b/pkg/commands/exec_live_win.go
@@ -0,0 +1,8 @@
+// +build windows
+
+package commands
+
+// RunCommandWithOutputLiveWrapper runs a command live but because of windows compatibility this command can't be ran there
+func RunCommandWithOutputLiveWrapper(c *OSCommand, command string, output func(string) string) error {
+ return c.RunCommand(command)
+}