diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-05-08 17:36:52 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-05-08 17:42:15 +0200 |
commit | a379dd48992bebf70b8dc36d754c2268772dc1a3 (patch) | |
tree | 05f88e637766ff27ef6ee72e5ef19c09a5d053bd /tests/static | |
parent | 57b37793f55471d3293d15d8a863f0db9d8dd7d6 (diff) |
commands/globals:ExternalCommand: do not shell-quote cmd for the shell
This is not just "being extra safe" as the comment says, it actually
prevents using shell constructs in the commandline, thus nullifying the
main reason to use the shell in the first place.
If the shell is requested, assume the command list is already properly
prepared for the shell and just join the list elements with spaces.
Diffstat (limited to 'tests/static')
0 files changed, 0 insertions, 0 deletions