What is the biggest problem with ProcessStartInfo.UseShellExecute?

How does the ProcessStartInfo.UseShellExecute process affect my current process?

Do I need special permissions from UAC for UseShellExecute?

Will it work with another user?

Will he give me new permissions?

+5
source share
1 answer

On Windows, there are two different api functions for starting a process. Low-level is CreateProcess (), it is directly converted to its own api function. And there ShellExecuteEx (), a function implemented by the shell (Explorer). It has a much higher level of abstraction.

-, ProcessStartInfo. CreateProcess() , , - . ShellExecuteEx() , , , , .

api , . ProcessStartInfo , CreateProcess, SHELLEXECUTEINFO, ShellExecuteEx(). , UseShellExecute.

+8

All Articles