Interface Global.CommandExecutor

Enclosing class:
Global
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 Global.CommandExecutor
optioal interface to specify a launcher, that creates a process for the runCommand method.

Note: This is mainly for unit testing

  • Method Summary

    Modifier and Type
    Method
    Description
    exec(String[] cmdarray, String[] envp, File dir)