https://bugs.kde.org/show_bug.cgi?id=466961
--- Comment #3 from Igor Mironchik <igor.mironc...@gmail.com> --- Hi. I investigated this question a little. Look, you collect data from process in: void KrActionProc::addStdout() { if (_output) { _output->addStdout(QString::fromLocal8Bit(_proc->readAllStandardOutput().data())); } } I.e. you do readAllStandardOutput(). And this method always ends data with "\n", even if process didn't write "\n". At least on Linux it's so. In other words consecutive calls KrActionProc::addStdout() will add extra "\n" after each call. This is the root of the problem. Fix seems quite simple, but I'm not sure. Looks like all is needed to remove the last "\n" in each readAllStandardOutput(). -- You are receiving this mail because: You are watching all bug changes.