2021-09-16 15:38:43 +02:00
|
|
|
//go:build windows
|
2018-10-27 14:35:07 +02:00
|
|
|
// +build windows
|
|
|
|
|
2020-09-29 11:10:57 +02:00
|
|
|
package oscommands
|
2018-10-27 14:35:07 +02:00
|
|
|
|
|
|
|
// 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())
|
2018-10-27 14:35:07 +02:00
|
|
|
}
|