fixed #4
This commit is contained in:
parent
93fb090961
commit
d09734610c
@ -1,6 +1,6 @@
|
||||
# When we run this program it will block waiting for a
|
||||
# signal. By typing `ctrl-C` (which the
|
||||
# terminal shows as `^C`) we cand send a `SIGNIT` signal,
|
||||
# terminal shows as `^C`) we cand send a `SIGINT` signal,
|
||||
# causing the program to print `interrupt` and then exit.
|
||||
$ go run signals.go
|
||||
awaiting signal
|
||||
|
@ -56,7 +56,7 @@ func main() {
|
||||
fmt.Println(string(grepBytes))
|
||||
|
||||
// Note that when spawning commands we need to
|
||||
// provide an explicitly deliniated command and
|
||||
// provide an explicitly delineated command and
|
||||
// argument array, vs. being able to just pass in one
|
||||
// command line string. If you want to spawn a full
|
||||
// command with a string, you can use `bash`'s `-c`
|
||||
|
Loading…
x
Reference in New Issue
Block a user