forked from 1b-agent/fieldcraft-upstream
app: leave SIGHUP alone so nohup keeps the app running (#248 follow-up)
#445 also closed the window on SIGHUP, which overrides the SIG_IGN that `nohup fieldcraft &` sets so the app outlives its terminal. A safe API cannot ask whether a signal was ignored at launch, so SIGHUP keeps its default. SIGTERM and SIGINT still close the window the normal way. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UhhZMBTviDQxZvwnyP89fo
This commit is contained in:
1 parent
9a30c7d9ed
commit
7a5363e07b
4 files changed
+11
-8
No files matched your search
@@ -25,7 +25,7 @@ ureq = { version = "3.4", default-features = false, features = ["rustls-no-provi
|
||||
rustls = { version = "0.23", default-features = false, features = ["ring", "std"] }
|
||||
getrandom = "0.3"
|
||||
|
||||
# A termination signal (SIGTERM, SIGINT, SIGHUP) closes the window the normal way (terminate.rs).
|
||||
# A termination signal (SIGTERM, SIGINT) closes the window the normal way (terminate.rs).
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
signal-hook = "0.3"
|
||||
|
||||
|
||||
Reference in new issue
Block a user