Table of Contents

Class ProcessExecRequest

Namespace
JD.AI.Core.Tools
Assembly
JD.AI.Core.dll

Input for exec.

public sealed record ProcessExecRequest : IEquatable<ProcessExecRequest>
Inheritance
ProcessExecRequest
Implements
Inherited Members

Constructors

ProcessExecRequest(string, string?, int, bool, int, bool, string)

Input for exec.

public ProcessExecRequest(string Command, string? WorkingDirectory = null, int YieldMs = 250, bool Background = false, int TimeoutMs = 60000, bool Pty = false, string Host = "local")

Parameters

Command string
WorkingDirectory string
YieldMs int
Background bool
TimeoutMs int
Pty bool
Host string

Properties

Background

public bool Background { get; init; }

Property Value

bool

Command

public string Command { get; init; }

Property Value

string

Host

public string Host { get; init; }

Property Value

string

Pty

public bool Pty { get; init; }

Property Value

bool

TimeoutMs

public int TimeoutMs { get; init; }

Property Value

int

WorkingDirectory

public string? WorkingDirectory { get; init; }

Property Value

string

YieldMs

public int YieldMs { get; init; }

Property Value

int