From 2e0e2663b80950a4b4106160a0cc6db12a39a559 Mon Sep 17 00:00:00 2001 From: Stéphane Cerveau Date: Wed, 30 Oct 2024 15:53:52 +0100 Subject: 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 --- docs/yaml/objects/external_program.yaml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/yaml/objects/external_program.yaml') 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 -- cgit v1.2.3