public Process runWithStartupDelay ( Class < ? > klass , String [ ] javaArguments , String [ ] processArguments ) throws IOException , InterruptedException , TimeoutException { return runWithStartupDelay ( klass , javaArguments , processArguments , DEFAULT_PROCESS_STARTUP_SHUTDOWN_TIME ) ; }
Runs process with arguments based on a specified class in a separate VM . Waits DEFAULT_PROCESS_STARTUP_TIME before returns the created process to a caller .