From 845b1b404c7c11f22efc4ce8309f6d9010fa06be Mon Sep 17 00:00:00 2001 From: Jip-Hop <2871973+Jip-Hop@users.noreply.github.com> Date: Tue, 28 Feb 2023 22:01:46 +0100 Subject: [PATCH] No os.system --- jlmkr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jlmkr.py b/jlmkr.py index 3d842a9..707457e 100755 --- a/jlmkr.py +++ b/jlmkr.py @@ -674,7 +674,7 @@ def list_jails(): print(f"{jail}") print("\nCurrently running:\n") - os.system(f"machinectl list") + subprocess.run(['machinectl', 'list']) def main(): if os.stat(__file__).st_uid != 0: