Running a Rust program in background
⚓ Rust 📅 2026-01-05 👤 surdeus 👁️ 4I have a Rust program called gpio-alarm that takes a time as an argument, waits for that time, then triggers an arbitrary event on GPIO. I'd like this program to run in the background when I run gpio-alarm in the terminal, but currently, I have to run gpio-alarm &. It is not meant to run at startup or anything, so I don't know if it should be a daemon.
Thanks for your time!
3 posts - 3 participants
🏷️ Rust_feed