Wait for all child processes of a process
I have an executable file that, when run, creates child processes and then terminates. I want to track the total execution time, including when all its child processes have finished. If I simply use time my_process
, it returns immediately with the execution time of the parent process. Is there a way to solve this?
Wait for all child processes of a process
I have an executable file that, when run, creates child processes and then terminates. I want to track the total execution time, including when all its child processes have finished. If I simply use time my_process
, it returns immediately with the execution time of the parent process. Is there a way to solve this?
Wait for all child processes of a process
I have an executable file that, when run, creates child processes and then terminates. I want to track the total execution time, including when all its child processes have finished. If I simply use time my_process
, it returns immediately with the execution time of the parent process. Is there a way to solve this?
Wait for all child processes of a process
I have an executable file that, when run, creates child processes and then terminates. I want to track the total execution time, including when all its child processes have finished. If I simply use time my_process
, it returns immediately with the execution time of the parent process. Is there a way to solve this?