-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ExternalProgram: add cmd_array to complete the offering #13845
base: master
Are you sure you want to change the base?
Conversation
a6dbf2e
to
9364960
Compare
acbc84e
to
2c13517
Compare
2c13517
to
1eb32c1
Compare
- name: cmd_array | ||
returns: list[str] | ||
description: Returns an array containing the command(s) for the program. | ||
since: 1.6.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New API is for 1.7.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also need a release snippet, add a file in docs/markdown/snippets/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you give me more details on the expected snippet please ?
Should we deprecate full_path() because it's dangerous? At least document that cmd_array() is prefered. |
A unit test would be nice too. |
1eb32c1
to
20af42f
Compare
Added a unit test |
729b344
to
1cd5775
Compare
1cd5775
to
381bd2d
Compare
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 mesonbuild#13834
381bd2d
to
f26bb39
Compare
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