mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Make sure to pass startupinfo into all subprocesses that are run in windows
This commit is contained in:
parent
264429f313
commit
5747f338dc
1 changed files with 2 additions and 1 deletions
|
@ -114,7 +114,8 @@ class SettingsWidget(QtWidgets.QWidget):
|
||||||
|
|
||||||
# Is update containers required?
|
# Is update containers required?
|
||||||
output = subprocess.check_output(
|
output = subprocess.check_output(
|
||||||
[self.common.container_runtime, "image", "ls", "dangerzone"]
|
[self.common.container_runtime, "image", "ls", "dangerzone"],
|
||||||
|
startupinfo=self.common.get_subprocess_startupinfo(),
|
||||||
)
|
)
|
||||||
if b"dangerzone" not in output:
|
if b"dangerzone" not in output:
|
||||||
self.update_checkbox.setCheckState(QtCore.Qt.Checked)
|
self.update_checkbox.setCheckState(QtCore.Qt.Checked)
|
||||||
|
|
Loading…
Reference in a new issue