MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / readStdErr

Method readStdErr

MiniZincIDE/process.cpp:504–517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

502}
503
504void 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
519void MznProcess::flushOutput()
520{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected