elvish/pkg/eval/external_cmd_unix.go
Qi Xiao 0adf0ec147 Use the unix build tag.
The unix build tag is supported by Go 1.19.
2023-03-03 00:01:26 +00:00

10 lines
120 B
Go

//go:build unix
package eval
import "syscall"
func isSIGPIPE(s syscall.Signal) bool {
return s == syscall.SIGPIPE
}