LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   background running process (https://www.linuxquestions.org/questions/programming-9/background-running-process-233522/)

elbriga 09-21-2004 05:18 PM

background running process
 
Hi all,

Im new to linux programming, but I have a lot of experience in C...
Im connecting an LCD display (that ones with 2 lines and 16 cols...) on the parallel port, and I know how to control it ok. I want it to show system status of all kinds... and also I have some buttons atached to the LPT to send some commands...
Can someone give me some pointer, tutorials on how to make my program run as a process on background?

Thanks already, Gabriel

itsme86 09-21-2004 05:34 PM

Code:

/* Jump into background */
  if(fork())
    exit(0);
  setpgrp();


Hko 09-21-2004 06:08 PM

See also here:
http://www.linuxquestions.org/questi...hreadid=233140


All times are GMT -5. The time now is 11:49 PM.