Open houle opened 8 years ago
It is possible to get the stdoutPipe? just as func (c *Cmd) StdoutPipe() (io.ReadCloser, error) if so, we can get the output when we exec the commands
not implemented. but you can try with that.
s = sh.Command("tailf", "some.log") rd, wr := io.Pipe() s.Stdout = wr # wr is stdoutPipe should returns.
BTW: you can make a pr
It is possible to get the stdoutPipe? just as func (c *Cmd) StdoutPipe() (io.ReadCloser, error) if so, we can get the output when we exec the commands