View previous topic :: View next topic |
Author |
Message |
Marcofras n00b
Joined: 29 May 2023 Posts: 27
|
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 |
|
|
bstaletic Guru
Joined: 05 Apr 2014 Posts: 376
|
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 |
|
|
|