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

See: https://github.com/mesonbuild/meson/issues/3552
pull/3556/head
Nirbheek Chauhan 7 years ago committed by GitHub
parent 0eb4423b85
commit e9a181a545
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      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

Loading…
Cancel
Save