From 79c5260093b9073596203772d16bef9c11445ba8 Mon Sep 17 00:00:00 2001 From: falkTX Date: Tue, 3 Apr 2018 12:01:49 +0200 Subject: [PATCH] Do not capture logs if running in nogui mode --- source/carla_host.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/carla_host.py b/source/carla_host.py index 71961ed93..066a3f257 100644 --- a/source/carla_host.py +++ b/source/carla_host.py @@ -2646,6 +2646,9 @@ def loadHostSettings(host): print("LADISH detected but using multiple clients (not allowed), forcing single client now") host.nextProcessMode = host.processMode = ENGINE_PROCESS_MODE_SINGLE_CLIENT + if gCarla.nogui: + host.showLogs = False + # -------------------------------------------------------------------------------------------------------- # run headless host now if nogui option enabled