When the interpreter runs go run to run a
long running program that calls signal.Notify, this program is not properly
killed when the interpreted is killed.
To reproduce:
- Build
goshwithgo install ./cmd/gosh - Run
./run.sh - See that HTTP server is running at
localhost:8080 - Press
Ctrl+Cto stopgosh - The server was not properly killed as it should
To kill manually, get the PID with lsof -i :8080 and then kill with
kill <pid>.