Remove closeWriteChannel from detached start
This commit is contained in:
parent
424d0aec5a
commit
3d549bf607
@ -142,14 +142,13 @@ class GUIProcess(QObject):
|
|||||||
self._proc.start(cmd, args)
|
self._proc.start(cmd, args)
|
||||||
else:
|
else:
|
||||||
self._proc.start(cmd, args, mode)
|
self._proc.start(cmd, args, mode)
|
||||||
self._proc.closeWriteChannel();
|
self._proc.closeWriteChannel()
|
||||||
|
|
||||||
def start_detached(self, cmd, args, cwd=None):
|
def start_detached(self, cmd, args, cwd=None):
|
||||||
"""Convenience wrapper around QProcess::startDetached."""
|
"""Convenience wrapper around QProcess::startDetached."""
|
||||||
log.procs.debug("Starting detached.")
|
log.procs.debug("Starting detached.")
|
||||||
self._pre_start(cmd, args)
|
self._pre_start(cmd, args)
|
||||||
ok, _pid = self._proc.startDetached(cmd, args, cwd)
|
ok, _pid = self._proc.startDetached(cmd, args, cwd)
|
||||||
self._proc.closeWriteChannel();
|
|
||||||
|
|
||||||
if ok:
|
if ok:
|
||||||
log.procs.debug("Process started.")
|
log.procs.debug("Process started.")
|
||||||
|
Loading…
Reference in New Issue
Block a user