The following tables list the members exposed by AssemblyRunner.
Name | Description | |
---|---|---|
AssemblyRunner Constructor | Constructs the AppDomain for the given executable by using it's path for the base directory and configuraiton file. |
Name | Description | |
---|---|---|
ExitCode | Waits for the process to exit and returns the exit code | |
IsDisposed | Returns true if this object's worker domain has been unloaded. | |
IsRunning | Returns true if this instance is running a process | |
WorkingDirectory | Gets or sets the initial working directory for the process. |
Name | Description | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
Kill | Kills the process if it is still running | |
Run | Overloaded. Runs the process and returns the exit code. | |
Start | Overloaded. Starts the process and returns. | |
ToString | Returns a debug-view string of process/arguments to execute | |
WaitForExit | Overloaded. Closes std::in and waits for the process to exit |
Name | Description | |
---|---|---|
Finalize | Ensures clean-up of the app domain... This has to be pushed off of the GC Cleanup thread as AppDoamin.Unload will fail on GC thread. |
Name | Description | |
---|---|---|
OutputReceived | Notifies caller of writes to the std::err or std::out | |
ProcessExited | Notifies caller when the process exits |