Interface Executor

    • Method Detail

      • exec

        ExecResult exec​(CommandLineDescriptor cmdDesc,
                        CmdParameters params,
                        EnvironmentDescriptor env)
        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