| 473 | } |
| 474 | |
| 475 | void MznProcess::processOutput() |
| 476 | { |
| 477 | p.setReadChannel(QProcess::ProcessChannel::StandardOutput); |
| 478 | while (p.canReadLine()) { |
| 479 | auto line = QString::fromUtf8(p.readLine()); |
| 480 | onStdOutLine(line); |
| 481 | } |
| 482 | p.setReadChannel(QProcess::ProcessChannel::StandardError); |
| 483 | while (p.canReadLine()) { |
| 484 | auto line = QString::fromUtf8(p.readLine()); |
| 485 | emit outputStdError(line); |
| 486 | } |
| 487 | } |
| 488 | |
| 489 | void MznProcess::readStdOut() |
| 490 | { |
nothing calls this directly
no outgoing calls
no test coverage detected