auto 333 B

12345678910111213141516
  1. #!/usr/bin/env bash
  2. # auto — run auto.cli via Windows python.exe
  3. # Usage:
  4. # auto [args...]
  5. set -euo pipefail
  6. PY="/mnt/d/vls-trunk/env-win64/python27/python.exe"
  7. if [[ ! -x "$PY" && ! -f "$PY" ]]; then
  8. echo "Error: python.exe not found at: $PY" >&2
  9. exit 1
  10. fi
  11. export PYTHONIOENCODING="utf-8"
  12. exec "$PY" -u -m auto.cli "$@"