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
Alexey Golub edited this page Nov 5, 2021
·
2 revisions
Error: Failed to obtain process handle
Sometimes, when trying to run a command, you may find the following exception thrown:
InvalidOperationException:
Failed to obtain the handle when starting a process.
This could mean that the target executable doesn't exist or that execute permission is missing.
This is evident of the fact that internally a call to Process.Start() has returned false, which signifies that .NET could not obtain the handle to the process you tried to start. The reasons, however, can vary.