Skip to content

Commit 098e2f8

Browse files
authored
Merge pull request #41 from progrium/josegonzalez-patch-1
fix: ignore SIGURG
2 parents a3d1099 + 1fc2648 commit 098e2f8

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)