Github user woowahan-jaehoon commented on the issue: https://github.com/apache/zeppelin/pull/2716 @mebelousov 1. `shutdown_hook` in `interpreter.sh` does work without `sleep 0`. `interpreter.sh` is finished after `shutdown_hook` when this got SIGTERM or SIGINT. Please check this example ```shell #!/bin/bash _term() { echo "Caught SIGTERM signal!" sleep 10 echo "Trap finished!" } trap _term SIGTERM SIGINT SIGQUIT eval sleep 20 & child=$! wait echo Finished Script ``` But you found wrong result with another system, please announce. 2. `eval` can be removed when I tested but this is another issue with this. And d3d020c8a3faef00bba41617e51f7df73ee50dec commit is original, I think. ^^;;;;
---