Class ExecuteCommand


  • public class ExecuteCommand
    extends Object
    This class executes a given script/commnand using Runtime.exec().
    • Field Detail

      • JAVA_HOME

        public static String JAVA_HOME
      • CLASSPATH

        public static String CLASSPATH
    • Constructor Detail

      • ExecuteCommand

        public ExecuteCommand()
    • Method Detail

      • executeCommand

        public static int executeCommand​(String[] commandArray,
                                         String[] environment,
                                         StringBuffer resultBuffer)
        Method executeCommand
        Parameters:
        commandArray -
        environment -
        resultBuffer -
        Returns: