All Known Implementing Classes:
ShellExecutor

public interface Executor
Interface for class that provide a way to execute a CommandLineDescriptor.
Author:
tiry
  • Method Details

    • exec

      No exception is thrown but the returned ExecResult contains everything about the command execution, including an optional exception.

      The execution duration is time boxed by the lower value of the command description timeout or the transaction TTL, the TTL must be greater than 5s to avoid transaction timeout.

      Parameters:
      cmdDesc - Command to run. Cannot be null.
      params - Parameters passed to the command. Cannot be null.
      env - Environment context (variable and working directory)
      Returns:
      Result of the execution
      Since:
      7.4