| 502 | } |
| 503 | |
| 504 | void MznProcess::readStdErr() |
| 505 | { |
| 506 | p.setReadChannel(QProcess::ProcessChannel::StandardError); |
| 507 | if (p.canReadLine()) { |
| 508 | auto fragment = QString::fromUtf8(p.readAllStandardOutput()); |
| 509 | if (!fragment.isEmpty()) { |
| 510 | onStdOutLine(fragment); |
| 511 | } |
| 512 | } |
| 513 | while (p.canReadLine()) { |
| 514 | auto line = QString::fromUtf8(p.readLine()); |
| 515 | emit outputStdError(line); |
| 516 | } |
| 517 | } |
| 518 | |
| 519 | void MznProcess::flushOutput() |
| 520 | { |
nothing calls this directly
no outgoing calls
no test coverage detected