parent
fbce241753
commit
630b3229ee
1 changed files with 1 additions and 1 deletions
|
@ -78,8 +78,8 @@ func (t *Terminal) Start(execCmd []string, getOutput bool, wait bool, callback f
|
||||||
t.output = nil
|
t.output = nil
|
||||||
if getOutput {
|
if getOutput {
|
||||||
t.output = bytes.NewBuffer([]byte{})
|
t.output = bytes.NewBuffer([]byte{})
|
||||||
|
cmd.Stdout = t.output
|
||||||
}
|
}
|
||||||
cmd.Stdout = t.output
|
|
||||||
Term, _, err := terminal.Start(&t.State, cmd)
|
Term, _, err := terminal.Start(&t.State, cmd)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in a new issue