github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/command/alloc_exec_unix.go (about) 1 // +build darwin dragonfly freebsd linux netbsd openbsd solaris 2 3 package command 4 5 import ( 6 "os" 7 "os/signal" 8 9 "golang.org/x/sys/unix" 10 ) 11 12 func setupWindowNotification(ch chan<- os.Signal) { 13 signal.Notify(ch, unix.SIGWINCH) 14 }