#!/usr/bin/env bash # Reuse Isaac's pinned Python/Torch rather than replacing its CUDA dependencies. set -euo pipefail ROOT=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd) LAUNCHER=${ISAACSIM_PYTHON:-"$HOME/isaacsim/python.sh"} if [[ ! -x "$LAUNCHER" ]]; then printf 'BLOCKED: set ISAACSIM_PYTHON to an executable Isaac Sim python.sh launcher.\n' >&2 exit 2 fi export PYTHONPATH="$ROOT/source/dex_workbench${PYTHONPATH:+:$PYTHONPATH}" exec "$LAUNCHER" -m dex_workbench_imitation.cli "$@"