Class representing an executable resource, which includes the command to be executed, its environment variables, and various output/error properties.
Regular expression for validating environment variable names.
Function to check if a given environment variable name is valid.
A mapping of environment variable names to their values.
The command to be executed.
The standard error output from the execution.
The standard output from the execution.
The exit code of the executed command. Defaults to 0.
The file path where the stdout value of this resource is saved
A timestamp of when the command was executed, represented as an unsigned 64-bit integer.
The timeout duration (in seconds) for the command execution. Defaults to 60 seconds.
Returns the class of this.
this
Returns a string representation of this.
This method is used to convert the values of string interpolation expressions to strings.
Returns this |> transform if this is non-null, and null otherwise.
this |> transform
null
This method is the complement of the ?? operator and the equivalent of an Option type's map and flatMap methods.
??
Option
map
flatMap
Tells if this object has a property with the given name.
name
Returns the value of the property with the given name.
Throws if a property with this name does not exist.
Returns null if a property with this name does not exist.
Converts this object to a Dynamic object.
Dynamic
Converts this object to a Map.
Map
Class representing an executable resource, which includes the command to be executed, its environment variables, and various output/error properties.