|
FileSurfer 2.1.2
Cross-platform file manager with support for Git and SFTP
|
Extends ILocalShellHandler with support for shell commands. More...


Public Member Functions | |
| ValueResult< string > | ExecuteShellCommand (string shellCommand, params string[] args) |
| Executes a shell command in the command prompt. | |
| Public Member Functions inherited from FileSurfer.Core.Services.Shell.ILocalShellHandler | |
| IResult | OpenTerminalAt (string dirPath) |
| Opens a terminal window rooted at the specified directory path. | |
| IResult | OpenFile (string filePath) |
| Opens the specified file using the operating system's default associated application. | |
| IResult | OpenInNotepad (string filePath) |
| Opens the specified file in the configured text editor (referred to as Notepad in settings). | |
| Public Member Functions inherited from FileSurfer.Core.Services.Shell.IShellHandler | |
| IResult | CreateFileLink (string filePath) |
| Creates a symbolic link for the specified file path. | |
| IResult | CreateDirectoryLink (string dirPath) |
| Creates a symbolic link for the specified directory path. | |
| ValueResult< string > | ExecuteCommand (string programName, params string[] args) |
Executes a command and returns stdout. | |
| Task< ValueResult< string > > | ExecuteCommandAsync (string programName, params string[] args) |
Asynchronously executes a command and returns stdout. | |
Extends ILocalShellHandler with support for shell commands.
| ValueResult< string > FileSurfer.Linux.Services.Shell.IShellCommandHandler.ExecuteShellCommand | ( | string | shellCommand, |
| params string[] | args ) |
Executes a shell command in the command prompt.
| shellCommand | Shell command to execute |
| args | Arguments for the shell command's $variables |
Implemented in FileSurfer.Linux.Services.Shell.LinuxShellHandler.