1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-03-03 15:02:52 +02:00
lazygit/pkg/commands/oscommands/exec_live_win.go

11 lines
418 B
Go
Raw Normal View History

2021-09-16 21:38:43 +08: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 14:56:47 +09:00
// TODO: Remove this hack and replace it with a proper way to run commands live on windows
2021-10-20 22:21:16 +11:00
func RunCommandWithOutputLiveWrapper(c *OSCommand, cmdObj ICmdObj, output func(string) string) error {
return c.RunCommand(cmdObj.ToString())
}