Class SystemCommandHelper


  • public class SystemCommandHelper
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void executeSystemCommandAndWait​(java.io.File baseDirectory, java.lang.String[] command, java.util.function.Consumer<java.lang.String> consumer, int timeoutMilliSeconds)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • executeSystemCommandAndWait

        public static void executeSystemCommandAndWait​(java.io.File baseDirectory,
                                                       java.lang.String[] command,
                                                       java.util.function.Consumer<java.lang.String> consumer,
                                                       int timeoutMilliSeconds)
                                                throws java.io.IOException,
                                                       java.lang.InterruptedException,
                                                       java.util.concurrent.ExecutionException,
                                                       java.util.concurrent.TimeoutException
        Throws:
        java.io.IOException
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException
        java.util.concurrent.TimeoutException