1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-14 11:23:09 +02:00
lazygit/pkg/commands/oscommands/exec_live_win.go

11 lines
418 B
Go
Raw Normal View History

2021-09-16 15:38:43 +02:00
//go:build windows
// +build windows
package oscommands
// RunCommandWithOutputLiveWrapper runs a command live but because of windows compatibility this command can't be ran there
2019-01-16 07:56:47 +02:00
// TODO: Remove this hack and replace it with a proper way to run commands live on windows
2021-10-20 13:21:16 +02:00
func RunCommandWithOutputLiveWrapper(c *OSCommand, cmdObj ICmdObj, output func(string) string) error {
return c.RunCommand(cmdObj.ToString())
}