CShellWindow/COPKGManager: handle some error from shell output

TODO: add missing handlers


Origin commit data
------------------
Commit: ed5bbdc540
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-05-23 (Sat, 23 May 2015)
This commit is contained in:
2015-05-23 22:52:57 +02:00
parent 5b8ffae117
commit fac2770a84
4 changed files with 133 additions and 61 deletions

View File

@@ -156,8 +156,9 @@ void CShellWindow::exec()
//callback for line handler
std::string s_output = std::string((output));
OnShellOutputLoop(s_output, res, &ok);
OnShellOutputLoop(&s_output, res, &ok);
dprintf(DEBUG_NORMAL, "[CShellWindow] [%s - %d] res=%d ok=%d\n", __func__, __LINE__, *res, ok);
if (lines.size() > lines_max)
lines.pop_front();
txt = "";