diff --git a/src/libs/utils/synchronousprocess.cpp b/src/libs/utils/synchronousprocess.cpp index 82a57578864d105121d01df5dcca70fa867b71e3..c7768a6c6f3e04ad8a5bb5e878acd250b5ee2325 100644 --- a/src/libs/utils/synchronousprocess.cpp +++ b/src/libs/utils/synchronousprocess.cpp @@ -130,17 +130,17 @@ QString SynchronousProcessResponse::exitMessage(const QString &binary, int timeo { switch (result) { case Finished: - return SynchronousProcess::tr("The command '%1' finished successfully.").arg(binary); + return SynchronousProcess::tr("The command '%1' finished successfully.").arg(QDir::toNativeSeparators(binary)); case FinishedError: - return SynchronousProcess::tr("The command '%1' terminated with exit code %2.").arg(binary).arg(exitCode); + return SynchronousProcess::tr("The command '%1' terminated with exit code %2.").arg(QDir::toNativeSeparators(binary)).arg(exitCode); break; case TerminatedAbnormally: - return SynchronousProcess::tr("The command '%1' terminated abnormally.").arg(binary); + return SynchronousProcess::tr("The command '%1' terminated abnormally.").arg(QDir::toNativeSeparators(binary)); case StartFailed: - return SynchronousProcess::tr("The command '%1' could not be started.").arg(binary); + return SynchronousProcess::tr("The command '%1' could not be started.").arg(QDir::toNativeSeparators(binary)); case Hang: return SynchronousProcess::tr("The command '%1' did not respond within the timeout limit (%2 ms)."). - arg(binary).arg(timeoutMS); + arg(QDir::toNativeSeparators(binary)).arg(timeoutMS); } return QString(); }