Table of Contents

Struct RemoteProcess.ExitStatus

Namespace
Tmds.Ssh
Assembly
Tmds.Ssh.dll

Represents a process exit status.

public readonly struct RemoteProcess.ExitStatus
Inherited Members

Properties

ExitCode

Gets the exit code of the process.

public int ExitCode { get; init; }

Property Value

int

ExitSignal

Gets the signal that terminated the process, or null when the process terminated with an exit code.

public string? ExitSignal { get; init; }

Property Value

string

Methods

Deconstruct(out int, out string?)

Deconstructs the exit status into its components.

public void Deconstruct(out int exitCode, out string? exitSignal)

Parameters

exitCode int

The exit code of the process.

exitSignal string

The signal that terminated the process.