Bug 570647 - Use CommandSession console for confirm messages

The streams gogo uses for System.out end up buffering the output
even when System.out.flush() is called.  This appears to be done to
support the piping in gogo.  If a message needs to be printed which
bypasses the piping then the CommandSession.getConsole() PrintStream
should be used.

Change-Id: I1919a48e1bf78133c506d3ffece6bec6a53dd344
Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
3 files changed