Execute is a concurrent wrapper around Go's os/exec Output() method. It runs a command, and returns its standard output as a byte slice. If a long-running command is being executed, it can easily be killed at any time using the terminate channel as the process is spawned in a Goroutine.

Execute is referenced in 1 repository