From 1fc2648b29ee447fdaa0d93ba27a22595b663787 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 14 May 2022 02:31:48 -0400 Subject: [PATCH] fix: ignore SIGURG Refs golang/go#37942 --- basher.go | 1 + 1 file changed, 1 insertion(+) diff --git a/basher.go b/basher.go index 2edb82b..d6b8fe6 100644 --- a/basher.go +++ b/basher.go @@ -274,6 +274,7 @@ func (c *Context) Run(command string, args []string) (int, error) { signals := make(chan os.Signal, 1) signal.Notify(signals) + signal.Ignore(syscall.SIGURG) cmd := exec.Command(c.BashPath, "-c", command+argstring) cmd.Env = []string{"BASH_ENV=" + envfile}