As far as I know,
nohup signals ignores SIGHUP signal sent by the terminal to the application but the application can change that.
I'm running Spotify through the command
nohup spotify & and when I close the terminal by clicking the X symbol on the top corner of the terminal, so does Spotify.
Does this mean Spotify changes it so that it won't ignore SIGHUP signal?
However, when I close the terminal using
exitcommand, Spotify remains working.
Is the terminal sent different signal when
exitcommand is called? I'd expect the Spotify to terminate as well.
P.S. I am using Elementary OS Loki and xterm.