From a060498ac7920b82c9c91900cd84d4317193db12 Mon Sep 17 00:00:00 2001 From: Paweł Jastrzębski Date: Fri, 8 Mar 2019 09:04:12 +0100 Subject: Fixed Windows autoupdater --- kindlecomicconverter/KCC_gui.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kindlecomicconverter/KCC_gui.py b/kindlecomicconverter/KCC_gui.py index 283c41c..7690d80 100644 --- a/kindlecomicconverter/KCC_gui.py +++ b/kindlecomicconverter/KCC_gui.py @@ -175,8 +175,7 @@ class VersionThread(QtCore.QThread): move(path[0], path[0] + '.exe') MW.hideProgressBar.emit() MW.modeConvert.emit(1) - Popen(path[0] + '.exe /SP- /silent /noicons', stdout=PIPE, stderr=STDOUT, stdin=PIPE, close_fds=True, - shell=True) + Popen(path[0] + '.exe /SP- /silent /noicons', stdout=PIPE, stderr=STDOUT, stdin=PIPE, shell=True) MW.forceShutdown.emit() except Exception: MW.addMessage.emit('Failed to download the update!', 'warning', False) -- cgit 1.4.1