You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That needs to be done outside of "CreateProcessAsUser" by using appropriate windows API. You can google for the particular APIs to be used, but I suspect it will be along the lines of WaitForSingleObject / GetExitCodeProcess. You will need to find how to interop these calls to .net and then you'll need experiment a bit with the exact sequence of calls that does what you want.
Hi There,
I was wondering how is it possible to wait the process that has been started to exit and return the exit code, instead of process ID?
The text was updated successfully, but these errors were encountered: