Class ProcessEx
Inheritance
System.Object
ProcessEx
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dotnet.Shell.Logic.Execution
Assembly: dotnet-shell-lib.dll
Syntax
public class ProcessEx : IDisposable
Constructors
| Improve this Doc View SourceProcessEx(Process)
Declaration
public ProcessEx(Process p)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Diagnostics.Process | p |
Properties
| Improve this Doc View SourceProcess
Declaration
public Process Process { get; }
Property Value
| Type | Description |
|---|---|
| System.Diagnostics.Process |
Methods
| Improve this Doc View SourceConvertStdErrToVariable<T>()
Converts the standard error to variable.
Declaration
public T ConvertStdErrToVariable<T>()
Returns
| Type | Description |
|---|---|
| T |
Type Parameters
| Name | Description |
|---|---|
| T |
ConvertStdOutToVariable<T>()
Converts the standard out to variable.
Declaration
public T ConvertStdOutToVariable<T>()
Returns
| Type | Description |
|---|---|
| T |
Type Parameters
| Name | Description |
|---|---|
| T |
CopyStdErr(Object, Stream)
Copies the standard error.
Declaration
public ProcessEx CopyStdErr(object s, Stream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | s | The s. |
| System.IO.Stream | stream |
Returns
| Type | Description |
|---|---|
| ProcessEx |
Dispose()
Declaration
public void Dispose()
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing |
SignalSuspend()
Declaration
public void SignalSuspend()
SignalTerminate()
Declaration
public void SignalTerminate()
WaitForExitAsync(CancellationToken)
Declaration
public Task WaitForExitAsync(CancellationToken token = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| System.Threading.CancellationToken | token |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
WaitTillExit(Object)
Sets the last exit code.
Declaration
public ProcessEx WaitTillExit(object s)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | s | The s. |
Returns
| Type | Description |
|---|---|
| ProcessEx |
Implements
System.IDisposable