public class ProcessStarter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.util.Set<java.lang.String> |
reserved |
Constructor and Description |
---|
ProcessStarter() |
Modifier and Type | Method and Description |
---|---|
protected static void |
close(java.io.OutputStream os)
Close a stream.
|
static void |
main(java.lang.String[] args)
Start a java or non-java process.
|
protected static java.util.Map<java.lang.String,java.lang.Object> |
processArguments(java.lang.String[] args)
Process the cmd line args.
|
static void |
startExternalProcess(java.lang.String dir,
java.lang.String cmd,
java.io.OutputStream out,
java.io.OutputStream err)
Start an external process.
|
static void |
startJavaProcess(java.lang.String[] parts,
java.io.OutputStream out,
java.io.OutputStream err)
Start a java process.
|
public static void main(java.lang.String[] args)
protected static java.util.Map<java.lang.String,java.lang.Object> processArguments(java.lang.String[] args)
public static void startExternalProcess(java.lang.String dir, java.lang.String cmd, java.io.OutputStream out, java.io.OutputStream err)
public static void startJavaProcess(java.lang.String[] parts, java.io.OutputStream out, java.io.OutputStream err)
protected static void close(java.io.OutputStream os)