wait for process to exit when using CreateProcessAsUser
- by sam
hi, i'm using CreateProcessAsUser in c# to launch a process by a service
my service needs to waiting for the process to exit but i don't know how i can do it,
i don't want to use checking the process existion in processes list