C# Class NanoByte.Common.Cli.CliAppControl

Provides an interface to an external command-line application controlled via arguments and stdin and monitored via stdout and stderr.
ファイルを表示 Open project: nano-byte/common

Public Methods

Method Description
StartInteractive ( ) : Process

Runs the external application interactivley instead of processing its output.

Private Methods

Method Description
Execute ( ) : string
GetStartInfo ( ) : ProcessStartInfo
HandlePending ( [ stderr, [ stdin ) : void

Reads all currently pending stderr lines and sends responses to stdin.

HandleStderr ( [ line ) : string
InitStdin ( [ writer ) : void

Method Details

StartInteractive() public method

Runs the external application interactivley instead of processing its output.
The external application could not be launched.
public StartInteractive ( ) : Process
return System.Diagnostics.Process