- We log their outputs and status codes - Windows is supported as well, leveraging cmd.exe /c Co-authored-by: pancho horrillo <pancho.horrillo@bbva.com>
12 lines
124 B
Go
12 lines
124 B
Go
// +build !windows
|
|
|
|
package cmd
|
|
|
|
import (
|
|
"os/exec"
|
|
)
|
|
|
|
func BuildCmd(path string) *exec.Cmd {
|
|
return exec.Command(path)
|
|
}
|