File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ type Process interface {
30
30
Stderr () io.Reader
31
31
// Resize resizes the TTY if a TTY is enabled.
32
32
Resize (ctx context.Context , rows , cols uint16 ) error
33
- // Wait returns ExitError when the command terminates.
33
+ // Wait returns ExitError when the command terminates with a non-zero exit code .
34
34
Wait () error
35
35
// Close terminates the process and underlying connection(s).
36
36
// It must be called otherwise a connection or process may leak.
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ and a body follows after a newline character.
79
79
This is the last message sent by the server.
80
80
81
81
``` json
82
- { "type" : " exit_code" , "code " : 255 }
82
+ { "type" : " exit_code" , "exit_code " : 255 }
83
83
```
84
84
85
85
A normal closure follows.
You can’t perform that action at this time.
0 commit comments