On Jul 21 2021, Kito Cheng wrote: >> Additionally, you will get extra >> output on stderr when one of the commands is not found. > > I tried PYTHON will get an empty string if all of those are not found, > no stderr from which command.
$ PATH=/usr/bin which foo >/dev/null which: no foo in (/usr/bin) Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."