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.... |
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".
|
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. |