docs: Add a warning about find_program().path()

See: https://github.com/mesonbuild/meson/issues/3552
This commit is contained in:
Nirbheek Chauhan 2018-05-09 18:30:00 +05:30 committed by GitHub
parent 0eb4423b85
commit e9a181a545
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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