// Start readers to consume output. It looks very innocuous with the output from the process
// being mapped to p.inputStream, but this is correct.
OutputContainer container = new OutputContainer(this.windowEditorStream);
new Thread(new InputStreamHandler(this.editorProcess.getInputStream(), container, false), "OutputFileHandler").start();
new Thread(new InputStreamHandler(this.editorProcess.getErrorStream(), container, true), "ErrorFileHandler").start();
} catch (IOException e) {
ToolPlugin.showError("Error running Tool Window Editor", e);
} catch (CoreException e) {
ToolPlugin.showError("Error running Tool Window Editor", e);