From fb7ef7b1ddbeb23e05d9c6bd541c45537f7b1a3a Mon Sep 17 00:00:00 2001 From: jayofelony Date: Sun, 17 Nov 2024 21:56:42 +0100 Subject: [PATCH] Update build Signed-off-by: jayofelony --- pwnagotchi/agent.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pwnagotchi/agent.py b/pwnagotchi/agent.py index 73121843..af0cc4a9 100644 --- a/pwnagotchi/agent.py +++ b/pwnagotchi/agent.py @@ -100,8 +100,7 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer): if has_mon is False: if mon_start_cmd is not None and mon_start_cmd != '': logging.info("starting monitor interface ...") - # self.run('!%s' % mon_start_cmd) - subprocess.Popen([mon_start_cmd], stdout=subprocess.PIPE, stderr=subprocess.PIPE) + self.run('!%s' % mon_start_cmd) else: logging.info("waiting for monitor interface %s ...", mon_iface) time.sleep(1)