Run a shell command
public void ShellRun(string cmd, string filename = "cmd.exe")| parameter | description |
|---|---|
| cmd | The command or program to run |
| filename | the shell type to run, e.g. powershell.exe |
| 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 |
- interface IPublicAPI
- namespace Flow.Launcher.Plugin