CShellWindow/COPKGManager: handle some error from shell output

TODO: add missing handlers
This commit is contained in:
2015-05-23 22:52:57 +02:00
parent 982fbb962e
commit ed5bbdc540
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 = "";