func (c *Cmd) Output() ([]byte, error) {
	if c.Stdout != nil {
		return nil, errors.New("ssh: Stdout already set")
	}
	var b bytes.Buffer
	c.Stdout = &b
	err := c.Run()
	return b.Bytes(), err
}
// Output runs the command, and returns the stdout
// output and result of executing the command.
Output runs the command, and returns the stdout
output and result of executing the command.
// Output runs the command and returns the stdout // output and result of executing the command .
func (c *Cmd) Output() ([]byte, error) {
	if c.Stdout != nil {
		return nil, errors.New("ssh: Stdout already set")
	}
	var b bytes.Buffer
	c.Stdout = &b
	err := c.Run()
	return b.Bytes(), err
}
func ( c * Cmd ) Output ( ) ( [ ] byte , error ) { if c . Stdout != nil { return nil , errors . New ( " " ) } var b bytes . Buffer c . Stdout = & b err := c . Run ( ) return b . Bytes ( ) , err }
Output runs the command, and returns the stdout
output and result of executing the command.
Output runs the command and returns the stdout output and result of executing the command .