Class CommandLineExecutor


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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getConsoleOutput​(java.lang.Process process)  
      java.lang.Process startProcessInDirectoryAndArguments​(java.lang.String targetDirectory, java.util.List<java.lang.String> arguments)  
      • Methods inherited from class java.lang.Object

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

      • CommandLineExecutor

        public CommandLineExecutor()
    • Method Detail

      • startProcessInDirectoryAndArguments

        public java.lang.Process startProcessInDirectoryAndArguments​(java.lang.String targetDirectory,
                                                                     java.util.List<java.lang.String> arguments)
                                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • getConsoleOutput

        public java.util.List<java.lang.String> getConsoleOutput​(java.lang.Process process)
                                                          throws java.io.IOException
        Throws:
        java.io.IOException