1. Execute the following program:
package main
import (
"code.google.com/p/gopass"
"time"
)
func main() {
_, err := gopass.GetPass("password:")
if err != nil {
println("error:", err)
}
println("Going to sleep...")
time.Sleep(1 * time.Minute)
println("... leaving!")
}
2. Hit CTRL+C when the program "sleeps"
We would expect the program to quit due to the receiving SIGINT. Instead the
signal is silently captured and left unprocessed. Calling signal.Stop upon
leaving GoPass passes control back to the program.
Original issue reported on code.google.com by
pnovot...@googlemail.comon 5 Jan 2014 at 11:44Attachments: