diff --git a/.idea/misc.xml b/.idea/misc.xml
index 0ad2804b..bf5a9fa2 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -3,7 +3,7 @@
-
+
diff --git a/.idea/pwnagotchi.iml b/.idea/pwnagotchi.iml
index ad51e808..67a8fbf3 100644
--- a/.idea/pwnagotchi.iml
+++ b/.idea/pwnagotchi.iml
@@ -4,7 +4,7 @@
-
+
diff --git a/pwnagotchi/agent.py b/pwnagotchi/agent.py
index 33384923..73121843 100644
--- a/pwnagotchi/agent.py
+++ b/pwnagotchi/agent.py
@@ -6,6 +6,7 @@ import logging
import asyncio
#import _thread
import threading
+import subprocess
import pwnagotchi
import pwnagotchi.utils as utils
@@ -99,7 +100,8 @@ 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)
+ # self.run('!%s' % mon_start_cmd)
+ subprocess.Popen([mon_start_cmd], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
else:
logging.info("waiting for monitor interface %s ...", mon_iface)
time.sleep(1)