Interface TerminalLauncher.Starter

Enclosing class:
TerminalLauncher
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface TerminalLauncher.Starter
Starts a command in a folder. @return whether it worked; @throws IOException when the program cannot be started
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    start(List<String> command, Path workDir)
    Starts the command in the folder.
  • Method Details

    • start

      boolean start(List<String> command, Path workDir) throws IOException
      Starts the command in the folder.
      Returns:
      whether it worked
      Throws:
      IOException - when the program cannot be started