Runtime rt = Runtime.getRuntime();
String[] arguments = { path, params, file.getAbsolutePath() };
process = rt.exec(arguments);
// read from stdout and stderr and show results in gui
ProcessOutputReader por = toolFactory.createOutputReader(file, process, new ProgressCallback() {
@Override
public void setStatus(String status) {
table.setValueAt(status, row, 1);
table.repaint();
}