helpful-lunch-92084
03/08/2021, 5:11 PMpants run path/to/binary -- binary’s arguments
. Now the binary’s arguments happened to have brackets []
in them and pants was aborting with:
File "/Users/nate/.cache/pants/setup/bootstrap-Darwin-x86_64/2.2.0_py38/lib/python3.8/site-packages/pants/util/eval.py", line 47, in parse_expression
raise raise_type(
pants.option.errors.ParseError: The value cannot be evaluated as a literal expression: SyntaxError('unexpected EOF while parsing', ('<string>', 1, 8, '[test] quoting'))
Given raw value:
1: [test] quoting
In v1 we made heavy use of pants run with --
expecting pants to stop processing argv after that. I tried looking at --run-args
but it seems that the brackets still cause it to bail.enough-analyst-54434
03/08/2021, 5:14 PMhelpful-lunch-92084
03/08/2021, 5:14 PMhappy-kitchen-89482
03/08/2021, 5:31 PMhelpful-lunch-92084
03/08/2021, 5:38 PMenough-analyst-54434
03/08/2021, 5:55 PMhelpful-lunch-92084
03/08/2021, 5:57 PMhappy-kitchen-89482
03/08/2021, 9:04 PMwitty-crayon-22786
03/10/2021, 4:58 AM