How does one process we can start an executable file? How to
get the PID process, which we started?
Answer Posted / sangeetha
We can start a new process from an existing process by
calling the function system("new process &"). The & sign
indicates the new process will run in background. Then
after this we can use the "ps" command to get the PID of
the new process.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What's a command word?
What is the difference between cat and more command?
What is the nmap command?
Why is shebang used?
What happens when we execute a unix command?
How to find $ai_serual resolved path by using unix
What do chmod command do?
How does pipe () work?
What does grep v do?
What does awk stand for?
What do know about tee command and its usage?
Who wrote grep?
Why is grep called grep?
What is used to type command?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?