Otherwise it's hard to tell if it failed.
Details
Details
- Reviewers
zzag - Group Reviewers
KWin - Commits
- R108:cd7fae95a4c0: Forward and log exit code of the nested process
Found out that my session was crashing.
Diff Detail
Diff Detail
- Repository
- R108 KWin
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
main_wayland.cpp | ||
---|---|---|
251–254 | From QProcess::exitCode documentation:
Perhaps, we need to do something like this if (status == QProcess::CrashExit) { qWarning() << "Session process has crashed"; QCoreApplication::exit(-1); return; } if (code) { qWarning() << "Session process exited with code" << code; } QCoreApplication::exit(code); |