diff options
author | mjarkk <mkopenga@gmail.com> | 2018-10-27 14:35:07 +0200 |
---|---|---|
committer | mjarkk <mkopenga@gmail.com> | 2018-10-27 14:35:07 +0200 |
commit | e47c597b3a2d1101984bd7f402a0ca761fbf7169 (patch) | |
tree | c5be3a50024315ba4fd4fe9b233bb8c396f6c862 /pkg/commands/exec_live_win.go | |
parent | ac03665df34e8be89672fb98e202b182d745fdaf (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.go | 8 |
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) +} |