Class ExecutionHelper

java.lang.Object
com.github.gastaldi.git.impl.ExecutionHelper

public class ExecutionHelper
extends java.lang.Object
Author:
Lukas Zaruba, lukas.zaruba@lundegaard.eu, 2019
  • Method Summary

    Modifier and Type Method Description
    static void executeCommand​(java.nio.file.Path pwd, java.lang.String... command)
    Executes given command in pwd and waits for result IO is inherited from this process

    Methods inherited from class java.lang.Object

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

    • executeCommand

      public static void executeCommand​(java.nio.file.Path pwd, java.lang.String... command)
      Executes given command in pwd and waits for result IO is inherited from this process
      Throws:
      ExecutionException - if there is a failure, propagating the error code if available