Forward and log exit code of the nested process
Summary: Otherwise it's hard to tell if it failed.
Test Plan: Found out that my session was crashing.
Reviewers: KWin, zzag
Reviewed By: KWin, zzag
Subscribers: zzag, kwin
Tags: KWin
Differential Revision: https://phabricator.kde.org/D21465