mirror of
https://github.com/mesonbuild/meson.git
synced 2026-06-30 19:57:45 +00:00
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
587 B
587 B
Add cmd_array method to ExternalProgram
Added a new cmd_array() method to the ExternalProgram object that returns
an array containing the command(s) for the program. This is particularly useful
in cases like pyInstaller where the Python command is meson.exe runpython,
and the full path should not be used but rather the command array.
The method returns a list of strings representing the complete command needed
to execute the external program, which may differ from just the full path
returned by full_path() in cases where wrapper commands or interpreters are
involved.