archway-network / cli

Develop WASM smart contracts with the Archway network developer CLI
https://docs.archway.io
Apache License 2.0
44 stars 21 forks source link

fix(core): Process doesn't exit on CTRL+C #246

Closed aelesbao closed 1 year ago

aelesbao commented 1 year ago

Description

When the user hits CTRL+C, the application doesn't exit the process gracefully and remains in a "hanging" state, not responding to any other command and forcing it to be shut down with kill -9.

Technical Details

The application should respond to the CTRL+C signal and exit immediately, killing any process running in the background (awaiting Future, Docker containers, etc.).