private PrintStream stdOut;
private PrintStream stdErr;
@Override
public void init(Settings settings) {
inputSession = new ConsoleInputSession(settings.getInputStream());
input = inputSession.getExternalInputStream();
outWriter = new PrintStream(settings.getStdOut(), true);
errWriter = new PrintStream(settings.getStdErr(), true);
this.stdOut = settings.getStdOut();
this.stdErr = settings.getStdErr();