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>
This commit is contained in:
committed by
pancho horrillo
parent
989bf2ed66
commit
0c16b5472f
@@ -0,0 +1,11 @@
|
||||
// +build !windows
|
||||
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"os/exec"
|
||||
)
|
||||
|
||||
func BuildCmd(path string) *exec.Cmd {
|
||||
return exec.Command(path)
|
||||
}
|
||||
Reference in New Issue
Block a user