re: #31375 (review)
b06c7ad: this is potentially confusing. If I build without gui, I expect build/src/bitcoin gui
to fail. Right now it would launch any bitcoin-qt
in my $PATH
.
Agree this behavior is potentially confusing, and prevented it for now, but I’m not totally I sure see it as a downside. I like the simplicity of bitcoin daemon
being an alias for bitcoind
and for the bitcoin
wrapper to add a few additional search directories of its own but not otherwise care where other executables are installed on the PATH.
But for now added a check to avoid searching for other executables using the PATH if the bitcoin
executable was not invoked using the PATH. Probably will need to keep tweaking this behavior, seeing what works and maybe adding options to control it.