We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 500562c commit 0986371Copy full SHA for 0986371
cmd.go
@@ -120,6 +120,11 @@ var (
120
// but was terminated unexpectedly (probably signaled). In either case, the
121
// command failed. Callers should check Error first. If nil, then check Exit and
122
// Complete.
123
+//
124
+// Note that SIGINT (interrupt) does not terminate a program. If caught and the
125
+// program exits, Error will be nil and Complete will be true because the program
126
+// completed as expectedly by its signal handler. See "Signals (Bash Reference Manual)":
127
+// https://www.gnu.org/software/bash/manual/html_node/Signals.html
128
type Status struct {
129
Cmd string
130
PID int
0 commit comments