Hi Handoko,
thanks for the reply.
I have already read the links you have posted to me but I have not found answers to my question.
I created a watchdog service.
He monitors the presence of a process in memory and when he does not find it, he launches the executable.
I manually entered the path of the executable in the code, but I would like to be able to indicate which process to monitor through a parameter to the installation of the service.
Is there anyone who has any ideas?
Thanks again