C# Class Net.XpFramework.Runner.Executor

ファイルを表示 Open project: xp-framework/xp-runners Class Usage Examples

Public Methods

Method Description
Execute ( string base_dir, string runner, string tool, string modules, string includes, string args ) : int

Creates and runs the executor instance. Returns the process' exitcode.

Instance ( string base_dir, string runner, string tool, string modules, string includes, string args ) : Process

Creates the executor process instance

Process ( StreamReader reader, TextWriter writer ) : void

Private Methods

Method Description
Encode ( string arg ) : string

Encodes a given string for use in a command line argument, using unicode escape sequences. The returned string is enclosed in double quotes. Double quotes and backslashes have been escaped.

Pass ( string arg ) : string

Encodes a given string for use in a command line argument. The returned string is enclosed in double quotes. Double quotes and backslashes have been escaped.

Method Details

Execute() public static method

Creates and runs the executor instance. Returns the process' exitcode.
public static Execute ( string base_dir, string runner, string tool, string modules, string includes, string args ) : int
base_dir string
runner string
tool string
modules string
includes string
args string
return int

Instance() public static method

Creates the executor process instance
public static Instance ( string base_dir, string runner, string tool, string modules, string includes, string args ) : Process
base_dir string
runner string
tool string
modules string
includes string
args string
return Process

Process() public static method

public static Process ( StreamReader reader, TextWriter writer ) : void
reader StreamReader
writer TextWriter
return void