Fix the target executable path for the rbt shortcuts on Windows.
Review Request #14505 — Created July 13, 2025 and submitted — Latest diff uploaded
Python packages used to install the RBTools entrypoint as
Scripts\rbt-script.py
, which was a Python script that ran
rbtools.__main__().
This changed at least as of our last release. The
modern tooling instead installed that asrbt.exe
.These are exe files that run themselves as Python scripts, so we can
still link to them. They are, unfortunately, installed using
non-relocatable paths to the Python executable, so we can't include them
directly in the path. However, we fortunately can continue to pass them
topython
as scripts, and it'll do the right thing.Our
rbt
andrbt.cmd
files have been updated to wrap these instead of
the old path.
Installed these on Windows and verified I could successfully run
rbt
.