From ec9c04096d9c0d7c06c605ebb68faea41cc7ab36 Mon Sep 17 00:00:00 2001 From: Eneko Nieto Date: Mon, 13 Apr 2026 14:16:45 +0200 Subject: [PATCH] fix: run instead of Popen --- call_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/call_manager.py b/call_manager.py index 3546d3c..8578b58 100644 --- a/call_manager.py +++ b/call_manager.py @@ -11,8 +11,8 @@ OP_OK = 'OK'.encode() OP_ERROR = 'ERROR'.encode() def exec_mumble(deaf: bool): - subprocess.Popen(['/usr/bin/mumble', 'rpc', 'deaf' if deaf else 'undeaf']) - subprocess.Popen(['/usr/bin/mumble', 'rpc', 'mute' if deaf else 'unmute']) + subprocess.run(['/usr/bin/mumble', 'rpc', 'deaf' if deaf else 'undeaf']) + subprocess.run(['/usr/bin/mumble', 'rpc', 'mute' if deaf else 'unmute']) def deaf_mumble(): exec_mumble(True)