Merge pull request #7502 from LK4D4/catch_error_console
Catch error on console creation Upstream-commit: e033425f0bcf58f1409e7a10a408c778f1c754e4 Component: engine
This commit is contained in:
@@ -106,6 +106,9 @@ func (d *driver) Run(c *execdriver.Command, pipes *execdriver.Pipes, startCallba
|
||||
} else {
|
||||
term, err = execdriver.NewStdConsole(c, pipes)
|
||||
}
|
||||
if err != nil {
|
||||
return -1, err
|
||||
}
|
||||
c.Terminal = term
|
||||
|
||||
d.Lock()
|
||||
|
||||
Reference in New Issue
Block a user