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.
        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