#!/usr/bin/env bash set -euo pipefail exhibition_repo=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd) exhibition_bench=$(cd "$exhibition_repo/../.." && pwd) export PYTHONUNBUFFERED=1 PYTHONDONTWRITEBYTECODE=1 export OMP_NUM_THREADS=2 OPENBLAS_NUM_THREADS=2 MKL_NUM_THREADS=2 export MAGNUM_LOG=quiet HABITAT_SIM_LOG=quiet export PYTHONPATH="$exhibition_repo:$exhibition_bench/multi_robot_benchmark/analyses/dynamic_demo_v1_20261001/operations/python${PYTHONPATH:+:$PYTHONPATH}" cd "$exhibition_repo" if [[ -f "$exhibition_bench/soundspaces_demo/scripts/run_soundspaces_runtime.sh" ]]; then exec bash "$exhibition_bench/soundspaces_demo/scripts/run_soundspaces_runtime.sh" "$@" fi # Portable native environments (e.g. dynamic_demo/Dockerfile) use their Python. exec "${DISH_PYTHON:-python}" "$@"