Table of Contents

Class ShellCommand

Namespace
Glitch9.AIDevKit
public class ShellCommand
Inheritance
object
ShellCommand

Properties

Command

The command to run.

public List<string> Command { get; set; }

Property Value

List<string>

Env

Environment variables to set for the command.

public Dictionary<string, string> Env { get; set; }

Property Value

Dictionary<string, string>

TimeoutMs

Optional timeout in milliseconds for the command.

public int? TimeoutMs { get; set; }

Property Value

int?

Type

The type of the local shell action. Always exec.

public string Type { get; set; }

Property Value

string

User

Optional user to run the command as.

public string User { get; set; }

Property Value

string

WorkingDirectory

Optional working directory to run the command in.

public string WorkingDirectory { get; set; }

Property Value

string