This is a wrapper around the java.lang.ProcessBuilder
to launch external programs and fetch their results.
The results of the program run are stored in two List<String>
arrays, one for the stdout and one for stderr. Receivers can also register a {@link ICommandOutputListener} to get the output line by line while it is generated, for example to update the user interface.
Optionally an IProgressMonitor
can be passed to the launch method to cancel running commands
|
|