diff --git a/source/frontend/carla_shared.py b/source/frontend/carla_shared.py index 337254b0c..d99096072 100644 --- a/source/frontend/carla_shared.py +++ b/source/frontend/carla_shared.py @@ -616,6 +616,7 @@ def getInitialProjectFile(app, skipExistCheck = False): continue if arg in ("-n", "--n", "-no-gui", "--no-gui", "-nogui", "--nogui"): continue + arg = os.path.expanduser(arg) if skipExistCheck or os.path.exists(arg): return arg