MCPcopy Create free account
hub / github.com/c3d/tao3D / debugProcessError

Method debugProcessError

tao/process.cpp:339–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337
338
339void Process::debugProcessError(QProcess::ProcessError error)
340// ------------------------------------------------------------------------
341// Print debug traces to stderr in case of process error
342// ------------------------------------------------------------------------
343{
344 QString type = processErrorToString(error);
345 std::cerr << +tr("Process %1 error: %2\n").arg(num)
346 .arg(type);
347 if (!err.isEmpty())
348 std::cerr << +tr(" stderr: %1\n").arg(err);
349}
350
351
352QString Process::processErrorToString(QProcess::ProcessError error)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected