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

Method flushOutput

MiniZincIDE/process.cpp:519–533  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

517}
518
519void MznProcess::flushOutput()
520{
521 readStdOut();
522 readStdErr();
523
524 auto stdOut = QString::fromUtf8(p.readAllStandardOutput());
525 if (!stdOut.isEmpty()) {
526 onStdOutLine(stdOut);
527 }
528
529 auto stdErr = QString::fromUtf8(p.readAllStandardError());
530 if (!stdErr.isEmpty()) {
531 emit outputStdError(stdOut);
532 }
533}
534
535void MznProcess::onStdOutLine(const QString& line)
536{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected