Skip to content

Commit c8027ae

Browse files
committed
Fix issue with hanging inference process due to excessive debug logs
1 parent de27005 commit c8027ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

edge_impulse_linux/runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ def init(self, debug=False):
3939
else:
4040
self._runner = subprocess.Popen(
4141
cmd,
42-
stdout=subprocess.PIPE,
43-
stderr=subprocess.PIPE,
42+
stdout=subprocess.DEVNULL,
43+
stderr=subprocess.DEVNULL,
4444
)
4545

4646
while not os.path.exists(socket_path) or self._runner.poll() is not None:

0 commit comments

Comments
 (0)