diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-05-09 18:30:00 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-09 18:30:00 +0530 |
commit | e9a181a5459ed1204b6250e16d2fdd291816c67a (patch) | |
tree | e79f0f22de49e7169dd0694106283379117b3870 | |
parent | 0eb4423b8522e7ddd9beb3de1aa6a5feff9141d6 (diff) | |
download | meson-e9a181a5459ed1204b6250e16d2fdd291816c67a.tar.gz |
docs: Add a warning about find_program().path()
See: https://github.com/mesonbuild/meson/issues/3552
-rw-r--r-- | docs/markdown/Reference-manual.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 316c0b5b7..2498b9899 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -1888,9 +1888,9 @@ and has the following methods: - `found()` which returns whether the executable was found -- `path()` which returns an array pointing to the executable (this is - an array as opposed to a string because the program might be - `['python', 'foo.py']`, for example) +- `path()` which returns a string pointing to the script or executable + **NOTE:** You should not need to use this method. Passing the object + itself should work in all cases. F.ex.: `run_command(obj, arg1, arg2)` ### `environment` object |