LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   run process in background using system calls (https://www.linuxquestions.org/questions/programming-9/run-process-in-background-using-system-calls-215799/)

indian 08-10-2004 10:26 AM

run process in background using system calls
 
Hi to all,
I want to run some process(say ls ...) in background...using system calls.HOw to do this....Can someone give me a Link or URL for this .I have make my Bash Own shell and I want to add this functionality.Thanks....

itsme86 08-10-2004 10:44 AM

This has been talked about several times on this forum already. You call fork() and then use one of the exec() functions on the child process. Then your shell and the running process run in "parallel".

Hko 08-10-2004 05:03 PM

See these threads:
http://www.linuxquestions.org/questi...hreadid=209332
http://www.linuxquestions.org/questi...hreadid=208402
http://www.linuxquestions.org/questi...hreadid=156394
http://www.linuxquestions.org/questi...hreadid=123496
http://www.linuxquestions.org/questi...hreadid=200968
http://www.linuxquestions.org/questi...hreadid=150110
http://www.linuxquestions.org/questi...hreadid=200968

(posting this list for the third time now...)


All times are GMT -5. The time now is 04:35 PM.