View previous topic :: View next topic |
Author |
Message |
Marcofras n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 May 2023 Posts: 48
|
Posted: Fri Nov 22, 2024 10:48 am Post subject: c++ process control |
|
|
i need to execute an instruction when a process (identificate with the name) in background terminate. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bstaletic Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 05 Apr 2014 Posts: 469
|
Posted: Fri Nov 22, 2024 12:30 pm Post subject: |
|
|
If you have the process' PID, then you can waitpid() on it.
Anything more than that will require you to provide us with more context. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|