Files
kapow/internal/cmd/runner_windows.go
Roberto Abdelkader Martínez Pérez 0c16b5472f feat: run multiple init programs
- 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>
2020-12-24 14:03:25 +01:00

10 lines
121 B
Go

package cmd
import (
"os/exec"
)
func BuildCmd(path string) *exec.Cmd {
return exec.Command("cmd.exe", "/c", path)
}