Interface ExecCommandExecutor

All Known Implementing Classes:
DefaultExecCommandExecutor

public interface ExecCommandExecutor
Executes ExecCommand instances.
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(ExecCommand execCommand)
    Executes the command and returns a not-null ExecResult instance.
  • Method Details

    • execute

      ExecResult execute(ExecCommand execCommand) throws ExecException, IOException
      Executes the command and returns a not-null ExecResult instance.
      Parameters:
      execCommand - The command object, that describes the executable application
      Returns:
      the result
      Throws:
      ExecException - if the execution failed
      IOException - if there is an invalid path in the working directory, or if the absolute path of the command executable is invalid, or if the executable does not exist