Skip to content

Commit

Permalink
Merge pull request #41 from progrium/josegonzalez-patch-1
Browse files Browse the repository at this point in the history
fix: ignore SIGURG
  • Loading branch information
josegonzalez authored May 14, 2022
2 parents a3d1099 + 1fc2648 commit 098e2f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions basher.go
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 098e2f8

Please sign in to comment.