diff options
author | Andrea Pappacoda <andrea@pappacoda.it> | 2022-01-29 18:22:10 +0100 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-01-29 22:17:48 -0500 |
commit | 7528c69fcca63889d67c1d6c2463c9e9485585a8 (patch) | |
tree | 117c85ba5b5918f0102dd4d904911ea8449f4108 | |
parent | 19684d23e811c3cc1ec2f03c63926cbdf982dd58 (diff) | |
download | meson-7528c69fcca63889d67c1d6c2463c9e9485585a8.zip meson-7528c69fcca63889d67c1d6c2463c9e9485585a8.tar.gz meson-7528c69fcca63889d67c1d6c2463c9e9485585a8.tar.bz2 |
docs: find_program can return the current Python3 interpreter
This was the case since 067ff7eeae26eda8edc9f7f7432f551c3e373eaa, i.e.
version 0.50.0. Fixes #3856
-rw-r--r-- | docs/yaml/functions/find_program.yaml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/yaml/functions/find_program.yaml b/docs/yaml/functions/find_program.yaml index 57efb93..a1dbb41 100644 --- a/docs/yaml/functions/find_program.yaml +++ b/docs/yaml/functions/find_program.yaml @@ -24,7 +24,9 @@ description: | (because the command invocator will reject the command otherwise) and Unixes (if the script file does not have the executable bit set). Hence, you *must not* manually add the interpreter while using this - script as part of a list of commands. + script as part of a list of commands. Since *0.50.0* if the "python3" + program is requested and it is not found in the system, Meson will return + its current interpreter. If you need to check for a program in a non-standard location, you can just pass an absolute path to `find_program`, e.g. |