Skip to content

Commit 1fc2648

Browse files
authored
fix: ignore SIGURG
Refs golang/go#37942
1 parent a3d1099 commit 1fc2648

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

basher.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ func (c *Context) Run(command string, args []string) (int, error) {
274274

275275
signals := make(chan os.Signal, 1)
276276
signal.Notify(signals)
277+
signal.Ignore(syscall.SIGURG)
277278

278279
cmd := exec.Command(c.BashPath, "-c", command+argstring)
279280
cmd.Env = []string{"BASH_ENV=" + envfile}

0 commit comments

Comments
 (0)