Help please! 怎么keep当前还在运行的child process# Unix - 噫吁兮,危乎高哉
s*y
1 楼
I need to handle the SIGTERM from the system. It is
requied to terminate all the child processes. How to
keep all their PIDs? Is there a function from Standard
Library that can do this? Or I need to write code by
myself?
Any suggestion is appreciated. Thanks a lot.
requied to terminate all the child processes. How to
keep all their PIDs? Is there a function from Standard
Library that can do this? Or I need to write code by
myself?
Any suggestion is appreciated. Thanks a lot.