diff --git a/sys/sys.go b/sys/sys.go index e76b876..16e7d01 100644 --- a/sys/sys.go +++ b/sys/sys.go @@ -59,7 +59,7 @@ func ManageStatusCmd(cmd *exec.Cmd, err error) int { return -1 } -func RunInteractiveCmd(cmd string, withStderr bool, buffers ...io.Writer) int { +func RunInteractiveCmd(cmd string, withStderr bool, buffers ...*bytes.Buffer) int { // fmt.Printf(" == go before command : %s\n", cmd) icmd := exec.Command("bash", "-c", cmd) icmd.Stdin = os.Stdin