<#18779 `pex_binary().args` are not properly escap...
# github-notifications
c
#18779 `pex_binary().args` are not properly escaped. Issue created by kaos Describe the bug If you attempt to inject any
--args
,
pex
will complain like:
Copy code
pex: error: argument --inject-args: expected one argument
Pants version 2.16.0rc0 Additional info Slack thread These args needs to be escaped: pants/src/python/pants/backend/python/util_rules/pex.py Lines 586 to 587 in </pantsbuild/pants/commit/1aca34961105f98c2dd63addd37f9e5cfc49ee9b|1aca349> Introduced in #17905 pantsbuild/pants