Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.34 KB

File metadata and controls

47 lines (31 loc) · 1.34 KB

ShellCommand.Execute method (1 of 2)

Runs a windows command using the provided ProcessStartInfo

public static void Execute(ProcessStartInfo info)

Exceptions

exception condition
!:FileNotFoundException Thrown when unable to find the file specified in the command
!:Win32Exception Thrown when error occurs during the execution of the command

See Also


ShellCommand.Execute method (2 of 2)

Runs a windows command using the provided ProcessStartInfo using a custom execute command function

public static void Execute(Func<ProcessStartInfo, Process> startProcess, ProcessStartInfo info)
parameter description
Func startProcessstartProcess allows you to pass in a custom command execution function

Exceptions

exception condition
!:FileNotFoundException Thrown when unable to find the file specified in the command
!:Win32Exception Thrown when error occurs during the execution of the command

See Also