From 3d549bf60709a539bf1ddb4cc3fa0c53c811c631 Mon Sep 17 00:00:00 2001 From: Fritz Reichwald Date: Wed, 12 Apr 2017 07:32:12 +0200 Subject: [PATCH] Remove closeWriteChannel from detached start --- qutebrowser/misc/guiprocess.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qutebrowser/misc/guiprocess.py b/qutebrowser/misc/guiprocess.py index 16bbbb3ba..8f986d1b1 100644 --- a/qutebrowser/misc/guiprocess.py +++ b/qutebrowser/misc/guiprocess.py @@ -142,14 +142,13 @@ class GUIProcess(QObject): self._proc.start(cmd, args) else: self._proc.start(cmd, args, mode) - self._proc.closeWriteChannel(); + self._proc.closeWriteChannel() def start_detached(self, cmd, args, cwd=None): """Convenience wrapper around QProcess::startDetached.""" log.procs.debug("Starting detached.") self._pre_start(cmd, args) ok, _pid = self._proc.startDetached(cmd, args, cwd) - self._proc.closeWriteChannel(); if ok: log.procs.debug("Process started.")