sg: Pipe output of commands to avoid stuck processes
Created by: mrnugget
See this issue for more details: https://github.com/golang/go/issues/21922
Long story short: processes were not properly killed when another
process failed to install/run, because sc.Cmd.Wait()
was waiting for
the output to close, etc.