Class ProcessExecutor


  • public class ProcessExecutor
    extends Object
    Execute shell command as process.
    • Constructor Detail

      • ProcessExecutor

        public ProcessExecutor​(Logger logger)
        Parameters:
        logger - Logger.
    • Method Detail

      • executeAndWait

        public void executeAndWait​(String cmd)
        Execute command and wait for process to end.
        Parameters:
        cmd - Command to be executed.