Fix startDetached return value for GUIProcess.

This commit is contained in:
Florian Bruhin 2015-06-11 23:02:47 +02:00
parent fc5349e1dc
commit 33ad0ab1fc

View File

@ -142,7 +142,7 @@ class GUIProcess(QObject):
"""Convenience wrapper around QProcess::startDetached."""
log.procs.debug("Starting detached.")
self._pre_start(cmd, args)
ok = self._proc.startDetached(cmd, args, cwd)
ok, _pid = self._proc.startDetached(cmd, args, cwd)
if ok:
log.procs.debug("Process started.")