C# Class System.CodeDom.Compiler.Executor

Exibir arquivo Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
ExecWait ( string cmd, TempFileCollection tempFiles ) : void
ExecWaitWithCapture ( IntPtr userToken, string cmd, TempFileCollection tempFiles, string &outputName, string &errorName ) : int
ExecWaitWithCapture ( IntPtr userToken, string cmd, string currentDir, TempFileCollection tempFiles, string &outputName, string &errorName ) : int
ExecWaitWithCapture ( string cmd, TempFileCollection tempFiles, string &outputName, string &errorName ) : int
ExecWaitWithCapture ( string cmd, string currentDir, TempFileCollection tempFiles, string &outputName, string &errorName ) : int

Private Methods

Method Description
CreateInheritedFile ( string file ) : FileStream
ExecWaitWithCapture ( SafeUserTokenHandle userToken, string cmd, string currentDir, TempFileCollection tempFiles, string &outputName, string &errorName, string trueCmdLine ) : int
ExecWaitWithCaptureUnimpersonated ( SafeUserTokenHandle userToken, string cmd, string currentDir, TempFileCollection tempFiles, string &outputName, string &errorName, string trueCmdLine ) : int
Executor ( ) : System.Diagnostics
GetRuntimeInstallDirectory ( ) : string

Method Details

ExecWait() public static method

public static ExecWait ( string cmd, TempFileCollection tempFiles ) : void
cmd string
tempFiles TempFileCollection
return void

ExecWaitWithCapture() public static method

public static ExecWaitWithCapture ( IntPtr userToken, string cmd, TempFileCollection tempFiles, string &outputName, string &errorName ) : int
userToken System.IntPtr
cmd string
tempFiles TempFileCollection
outputName string
errorName string
return int

ExecWaitWithCapture() public static method

public static ExecWaitWithCapture ( IntPtr userToken, string cmd, string currentDir, TempFileCollection tempFiles, string &outputName, string &errorName ) : int
userToken System.IntPtr
cmd string
currentDir string
tempFiles TempFileCollection
outputName string
errorName string
return int

ExecWaitWithCapture() public static method

public static ExecWaitWithCapture ( string cmd, TempFileCollection tempFiles, string &outputName, string &errorName ) : int
cmd string
tempFiles TempFileCollection
outputName string
errorName string
return int

ExecWaitWithCapture() public static method

public static ExecWaitWithCapture ( string cmd, string currentDir, TempFileCollection tempFiles, string &outputName, string &errorName ) : int
cmd string
currentDir string
tempFiles TempFileCollection
outputName string
errorName string
return int