https://godoc.org/gopkg.in/pipe.v2#RunTimeout
Am Montag, 18. Juli 2016 19:39:36 UTC+2 schrieb Walter Garcia: > > Hello. > > Im using pipe.v2 and work fine, but I need cancel the process running, How > can I do it? > > The process is running, but in certain circumstances I need to cancel. > > this is my code > > p := pipe.Line( > pipe.Exec("command1", args_command1...), > pipe.Exec("command2", args_command2...), > ) > output, pipe_err := pipe.CombinedOutput(p) > > if pipe_err != nil { > // ERROR > } else { > //OK > } > > > Please, I need your help. > > Thanks in advance > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.