summaryrefslogtreecommitdiff
path: root/docs/yaml
diff options
context:
space:
mode:
authorStéphane Cerveau <scerveau@igalia.com>2024-10-30 15:53:52 +0100
committerXavier Claessens <xclaesse@gmail.com>2025-11-05 08:12:46 -0500
commit2e0e2663b80950a4b4106160a0cc6db12a39a559 (patch)
treefce4c1e4a82b97328ee66c2ae8dbbc5ba711ec85 /docs/yaml
parent60e3cc1c58c208c635bda23a7c62a92ae84cb6b6 (diff)
downloadmeson-2e0e2663b80950a4b4106160a0cc6db12a39a559.tar.gz
ExternalProgram: add cmd_array to complete the offfering
In case of python and especially in the case of pyInstaller where the python command is meson.exe runpython, it should not be full path to be used but cmd_array. Fixing #13834
Diffstat (limited to 'docs/yaml')
-rw-r--r--docs/yaml/objects/external_program.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/yaml/objects/external_program.yaml b/docs/yaml/objects/external_program.yaml
index 4c24497a9..db5d39fab 100644
--- a/docs/yaml/objects/external_program.yaml
+++ b/docs/yaml/objects/external_program.yaml
@@ -56,3 +56,8 @@ methods:
```meson
run_command(find_program('foo'), 'arg1', 'arg2')
```
+
+- name: cmd_array
+ returns: array[str]
+ description: Returns an array containing the command(s) for the program.
+ since: 1.10.0