예제 #1
0
 public static Process executeIn(
     File directory, List<?> commandLine, boolean processOutput, boolean redirectErrorStream)
     throws IOException {
   List<Integer> defaultAcceptableExitCodes = Arrays.asList(0);
   return ProcessUtils.executeIn(
       directory, commandLine, processOutput, redirectErrorStream, defaultAcceptableExitCodes);
 }
예제 #2
0
 public static Process executeIn(File directory, List<?> commandLine) throws IOException {
   return ProcessUtils.executeIn(directory, commandLine, true, true);
 }
예제 #3
0
 public static Process executeIn(File directory, List<?> commandLine, boolean processOutput)
     throws IOException {
   return ProcessUtils.executeIn(directory, commandLine, processOutput, true);
 }