clarinet icon indicating copy to clipboard operation
clarinet copied to clipboard

Sending SIGINT/SIGTERM to the process started by clarinet dev start doesn't trigger a graceful shutdown

Open 2snEM6 opened this issue 10 months ago • 0 comments

Describe the bug When sending a SIGINT or SIGTERM to the clarinet process spawned when executing clarinet dev start does not trigger a graceful shutdown. Instead, it kills the process ungracefully

To Reproduce

  1. Run clarinet dev start
  2. Run ps -a | grep clarinet in another terminal session and grab the PID
  3. Run kill -TERM <PID> or kill -INT <PID>

Expected behavior The clarinet process should trigger a graceful shutdown whenever SIGINT or SIGTERM signals are received

Environment (please complete the following information):

  • OS (version): MacOS Ventura 13.2
  • Docker version: Orbstack latest version
  • Clarinet version: 2.2.1

2snEM6 avatar Mar 25 '24 14:03 2snEM6