Files
brk/crates/brk_exit
2025-05-12 12:55:40 +02:00
..
2025-03-17 09:55:06 +01:00
2025-03-17 09:55:06 +01:00
2025-05-12 12:55:40 +02:00

BRK Exit

GitHub Repo stars kibo.money License Version Documentation Size Dependency status Discord Nostr Bluesky X

A simple crate that stops the program from exitting when blocking is activated until it is released. The purpose of that is to prevent exitting when a program is in the middle of saving data and thus prevent partial writes.

It's built on top of ctrlc which handles Ctrl + C (SIGINT), stopping the program using the kill command (SIGTERM) and closing the terminal (SIGHUP) but it doesn't support force kills (kill -9).