public class JavaExec extends Object
| Constructor and Description |
|---|
JavaExec() |
| Modifier and Type | Method and Description |
|---|---|
static com.gemstone.gemfire.internal.ProcessOutputReader |
fg(Class main)
Creates a java process that executes the given main class
and waits for the process to terminate.
|
static com.gemstone.gemfire.internal.ProcessOutputReader |
fg(Class main,
String[] vmArgs,
String[] mainArgs)
Creates a java process that executes the given main class
and waits for the process to terminate.
|
public static com.gemstone.gemfire.internal.ProcessOutputReader fg(Class main) throws IOException
ProcessOutputReader that can be used to
get the exit code and stdout+stderr of the terminated process.IOExceptionpublic static com.gemstone.gemfire.internal.ProcessOutputReader fg(Class main, String[] vmArgs, String[] mainArgs) throws IOException
ProcessOutputReader that can be used to
get the exit code and stdout+stderr of the terminated process.IOExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.