Use QProcess instead of manual fork/exec
Summary: Probably legacy code from before the time of QProcess (and KProcess)?
Test Plan: It still compiles and generates the same output
Reviewers: mpyne
Reviewed By: mpyne
Subscribers: bcooksley
Differential Revision: https://phabricator.kde.org/D4984