ExecExecutionTemplate

The ExecutionTemplate which is created using the exec execution builder function. This template class is used as a builder to construct the arguments to starts a process on the machine.

Properties

Link copied to clipboard
abstract val ctx: ScopeContext

This field contains the context object that is applicable to the scope that defines the execution. The object is inherited directly from the parent net.democritus.scripting.scope.ScriptScope without alterations.

Functions

Link copied to clipboard
abstract fun arg(vararg values: String)
abstract fun arg(values: List<String>)

This function can be used to add one or more arguments to start the process. The first argument added should typically be the executable to run, followed by every individual argument that should be added to it.