Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Keep a process running after logout.
Ref. No. QNX.000009696
Category(ies) Development
Issue We have a program that terminates after we logout.  How do we make our program so it keeps running after a user logs out?
Solution Your program terminates because it is receiving a SIGHUP signal - a signal that most processes receive when the current terminal is logged off.  To keep your program running, add a signal handler for SIGHUP, and ignore the signal.