Class ProcessRunner

    • Constructor Detail

      • ProcessRunner

        public ProcessRunner()
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: IScriptRunner
        Gets the name of the ScriptRunner. Should be unique. This value is needed to distinguish between different ScriptRunners.
        Returns:
        Name to identify the ScriptRunner or null if not available
      • getExtensions

        public String[] getExtensions()
        Description copied from interface: IScriptRunner
        returns the list of possible script file extensions, first is the default
        Returns:
        array of strings
      • getType

        public String getType()
        Description copied from interface: IScriptRunner
        return the type of script this handler can execute.
        Returns:
      • detach

        public static void detach​(String... args)
      • detach

        public static void detach​(List<String> cmd)
      • runBlocking

        public static int runBlocking​(List<String> cmd)
      • closeApp

        public static boolean closeApp​(String... givenCmd)
      • closeApp

        public static boolean closeApp​(List<String> givenCmd)
      • startApp

        public static boolean startApp​(String... givenCmd)
      • startApp

        public static boolean startApp​(List<String> givenCmd)