System shutdown or SIGKILL will lose session data

Author: dail8859Created Jan 13, 2023Updated Sep 23, 2026
Labelslinux

If you kill the app with SIGKILL signal it will always loose all the state. That's the tl;dr info.

Example how do I reproduce it:

  1. Open NN
  2. In the terminal do: top -b -n 1 | grep wrap and remember the pid (first number)
  3. In the terminal do: kill -9 INPUT_PID_HERE
  4. You should be able to replace step 2 & 3 with killall -9 AppRun.wrapped, but it seems that process name of NN is kind of generic and that could kill some other apps as well if you happen to run one with the same process name.

Originally posted by @dzek69 in https://github.com/dail8859/NotepadNext/issues/81#issuecomment-1381741141