Author: mvidner Date: Wed Feb 25 15:40:00 2009 New Revision: 55747 URL: http://svn.opensuse.org/viewcvs/yast?rev=55747&view=rev Log: Also take care of the input part, when finishing (bnc#470645). Modified: trunk/core/base/tools/tty_wrapper/tty_wrapper.cc Modified: trunk/core/base/tools/tty_wrapper/tty_wrapper.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/core/base/tools/tty_wrapper/tty_wrapper.cc?rev=55747&r1=55746&r2=55747&view=diff ============================================================================== --- trunk/core/base/tools/tty_wrapper/tty_wrapper.cc (original) +++ trunk/core/base/tools/tty_wrapper/tty_wrapper.cc Wed Feb 25 15:40:00 2009 @@ -145,6 +145,11 @@ if (finish) { + // read the remaining pieces + std::string std_out(subprocess.read()); + output(std_out, 1); + std::string err_out(subprocess.readErr()); + output(err_out, 2); // SIGCHLD received, return the exit status return subprocess.close(); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org