void () { outputAdapter = new CapturingProcessAdapter(); myHandler.addProcessListener(outputAdapter); myHandler.addProcessListener(new ProcessTracker()); myHandler.addProcessListener(new ResultBuilderNotifier(listeners())); myHandler.addProcessListener(new CommandOutputLogger()); myHandler.startNotify(); }