Process.Start never returns when UAC denied
问题 I have an updater exe that is meant to close the primary exe, replace it with an updated exe, and then launch that updated exe. When the updater attempts to start the updated exe, if the UAC permissions dialog is denied by the user, the updater will hang. This is because the Process.Start() function never returns. My CPU cycles meter indicates practically no usage btw. I would hope all my users just say "yes" to the UAC, but since I'm here I'd like to handle this case with some kind of error