#!/usr/bin/env python3
"""Use this distribution's installed runtime without touching another harness."""
import os,pathlib,subprocess,sys
root=pathlib.Path(__file__).resolve().parent
python=root/'.harness/venv'/('Scripts/python.exe' if os.name=='nt' else 'bin/python')
if not python.exists():raise SystemExit('Run install.cmd in this folder first.')
raise SystemExit(subprocess.call([str(python),str(root/'portable'/'cli.py'),*['capability'],*sys.argv[1:]]))
