Skip to content

Hex1bTerminalProcessOptions ​

Namespace: Hex1b

Assembly: Hex1b.dll

Options for configuring a child process workload.

csharp
public sealed class Hex1bTerminalProcessOptions

Inheritance ​

Object → Hex1bTerminalProcessOptions

Properties ​

Arguments ​

Gets or sets the command-line arguments for the process.

Returns: IList<String>

csharp
public IList<string>? Arguments { get; set; }

Environment ​

Gets or sets additional environment variables for the process.

Returns: IDictionary<String, String>

csharp
public IDictionary<string, string>? Environment { get; set; }

FileName ​

Gets or sets the executable to run.

Returns: String

csharp
public string FileName { get; set; }

InheritEnvironment ​

Gets or sets whether to inherit the parent's environment variables. Defaults to true.

Returns: Boolean

csharp
public bool InheritEnvironment { get; set; }

UnixPtyStartupTimeout ​

Gets or sets the Unix PTY startup-handshake timeout. Defaults to 10 seconds.

Returns: TimeSpan

csharp
[Experimental("HEX1B_UNIX_PTY_STARTUP")]
public TimeSpan UnixPtyStartupTimeout { get; set; }

WindowsPtyHostPath ​

Gets or sets an explicit path to the Windows PTY host executable (hex1bpty.exe).

Returns: String

csharp
public string? WindowsPtyHostPath { get; set; }

WindowsPtyMode ​

Gets or sets how Hex1b should choose the Windows PTY backend.

Returns: WindowsPtyMode

csharp
public WindowsPtyMode WindowsPtyMode { get; set; }

WorkingDirectory ​

Gets or sets the working directory for the process. If null, uses the current directory.

Returns: String

csharp
public string? WorkingDirectory { get; set; }

Released under the MIT License.