| 337 | |
| 338 | |
| 339 | void 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 | |
| 352 | QString Process::processErrorToString(QProcess::ProcessError error) |
nothing calls this directly
no outgoing calls
no test coverage detected