From 72f0244a7c9b4b4bbfbe6d70a8c2a9cd12d19ef0 Mon Sep 17 00:00:00 2001 From: Marcel Schwarz Date: Thu, 5 Mar 2020 19:50:23 +0100 Subject: [PATCH] change run to call --- modules/systemupdate/systemupdate.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/systemupdate/systemupdate.py b/modules/systemupdate/systemupdate.py index d0b78f8..5a91883 100644 --- a/modules/systemupdate/systemupdate.py +++ b/modules/systemupdate/systemupdate.py @@ -7,9 +7,9 @@ class Systemupdate(AbstractModule): def run(self): print("Running update") - subprocess.run("apt update") - subprocess.run("apt upgrade") - subprocess.run("apt dist-upgrade") - subprocess.run("apt autoremove") - subprocess.run("apt autoclean") + subprocess.call("apt update") + subprocess.call("apt upgrade") + subprocess.call("apt dist-upgrade") + subprocess.call("apt autoremove") + subprocess.call("apt autoclean") print("All update processes finished, please check output for further details.")