diff --git a/scripts/testing/city_runner/profiles/default.py b/scripts/testing/city_runner/profiles/default.py index a214a8d68..8e2a3eac5 100644 --- a/scripts/testing/city_runner/profiles/default.py +++ b/scripts/testing/city_runner/profiles/default.py @@ -99,6 +99,9 @@ def execute(self): if lib_dirs: env[env_var_name] = env_var_separator.join(lib_dirs) + if os.path.exists(exe_path): + working_dir = os.path.dirname(exe_path) + # Support ` ` invocations by splitting the # value of the --prepend_args option, the first item being the path to # `` binary and subsequent items optional arguments.