CSharpTest.Net
ProcessRunner Class Members
See Also  Properties  Methods  Events Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Processes Namespace : ProcessRunner Class


Glossary Item Box

The following tables list the members exposed by ProcessRunner.

Public Constructors

 NameDescription
Public ConstructorProcessRunner ConstructorOverloaded.   
Top

Public Properties

 NameDescription
Public PropertyExitCodeWaits for the process to exit and returns the exit code  
Public PropertyIsRunningReturns true if this instance is running a process  
Public PropertyPIDReturns the remote process Id  
Public PropertyStandardInputAllows writes to the std::in for the process  
Public PropertyWorkingDirectoryGets or sets the initial working directory for the process.  
Top

Public Methods

 NameDescription
Public MethodDisposeDetaches event handlers and closes input streams  
Public MethodKillKills the process if it is still running  
Public MethodRunOverloaded. Runs the process and returns the exit code.  
Public MethodRunFormatArgsCalls String.Format() for each argument this runner was constructed with giving the object array as the arguments. Once complete it runs the process with the new set of arguments and returns the exit code.  
Public MethodStartOverloaded. Starts the process and returns.  
Public MethodStartFormatArgsCalls String.Format() for each argument this runner was constructed with giving the object array as the arguments. Once complete it starts the process with the new set of arguments and returns.  
Public MethodToStringReturns a debug-view string of process/arguments to execute  
Public MethodWaitForExitOverloaded. Closes std::in and waits for the process to exit  
Top

Public Events

 NameDescription
Public EventOutputReceivedNotifies caller of writes to the std::err or std::out  
Public EventProcessExitedNotifies caller when the process exits  
Top

See Also

Generated with Document! X 2011 by Innovasys