Generated by DocFX

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 Source

ProcessEx(Process)

Declaration
public ProcessEx(Process p)
Parameters
Type Name Description
System.Diagnostics.Process p

Properties

| Improve this Doc View Source

Process

Declaration
public Process Process { get; }
Property Value
Type Description
System.Diagnostics.Process

Methods

| Improve this Doc View Source

ConvertStdErrToVariable<T>()

Converts the standard error to variable.

Declaration
public T ConvertStdErrToVariable<T>()
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

ConvertStdOutToVariable<T>()

Converts the standard out to variable.

Declaration
public T ConvertStdOutToVariable<T>()
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

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
| Improve this Doc View Source

Dispose()

Declaration
public void Dispose()
| Improve this Doc View Source

Dispose(Boolean)

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing
| Improve this Doc View Source

SignalSuspend()

Declaration
public void SignalSuspend()
| Improve this Doc View Source

SignalTerminate()

Declaration
public void SignalTerminate()
| Improve this Doc View Source

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
| Improve this Doc View Source

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