Need to flush stdout stdin on ssh connect

If there are messages upon connection to an ssh shell then these appear in the output of exe() in sshmods. Need to flush this data before the commands in the commands list is called.


Id: e89fa72256ce3487a3f85ca9ae4bfc9502e75d91
Type: bugfix
Creation time: 2011-02-14 13:54
Creator: Mathew Topper <mathew.topper@...>
Release: 0.3 (unreleased)
Status: closed : fixed fixed

Issue log

2011-02-14 13:56 Mathew Topper <mathew.topper@...> closed with disposition fixed
Did an echo to stdout and stderr and picked up the result before calling the commands. Also did a exec_command("bash -s") to get a shell rather then invoke_shell because apparently this is better, although you still need to flush the output either way.
2011-02-14 13:54 Mathew Topper <mathew.topper@...> created