diff --git a/source/carla_shared.py b/source/carla_shared.py index e2f25aa8d..013b65837 100644 --- a/source/carla_shared.py +++ b/source/carla_shared.py @@ -677,8 +677,12 @@ def runCarlaDiscovery(itype, stype, filename, tool, isWine=False): command.append(filename) Ps = Popen(command, stdout=PIPE) - Ps.wait() - output = Ps.stdout.read().decode("utf-8", errors="ignore").split("\n") + + try: + Ps.wait() + output = Ps.stdout.read().decode("utf-8", errors="ignore").split("\n") + except: + output = "" pinfo = None