Package jadex.common
Class ProcessStarter
java.lang.Object
jadex.common.ProcessStarter
The process starter allows for starting another process in a completely
detached way, i.e. the std.out and std.err streams are automatically read.
The process that starts the process starter can be savely terminated.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
close
(OutputStream os) Close a stream.static void
Start a java or non-java process.processArguments
(String[] args) Process the cmd line args.static void
startExternalProcess
(String dir, String cmd, OutputStream out, OutputStream err) Start an external process.static void
startJavaProcess
(String[] parts, OutputStream out, OutputStream err) Start a java process.
-
Field Details
-
reserved
-
-
Constructor Details
-
ProcessStarter
public ProcessStarter()
-
-
Method Details
-
main
Start a java or non-java process. -
processArguments
Process the cmd line args. -
startExternalProcess
Start an external process. -
startJavaProcess
Start a java process. -
close
Close a stream.
-