https://pantsbuild.org/ logo
#general
Title
# general
c

clean-night-52582

08/26/2021, 12:06 AM
Hey is this a known issue with
./pants run
. I'm trying to run a command that has an argument that has spaces in it, e.g
./pants run someting:script -- --message 'add new Column'
and it will fail when running since it assumes
new Column
aren't part of the same string. It says that there are no commands
new or Column
. My assumption is that it's related to shell string parsing so there might not be a good solution. Works correctly when doing
./pants package someting:script && ./dist/script.pex --message 'add new Column'
h

hundreds-father-404

08/26/2021, 12:09 AM
Hi! Yes, fixed in 2.6.1rc1+ and 2.5.2. What Pants version are you on again?
c

clean-night-52582

08/26/2021, 12:11 AM
Pants
2.6.0
Oh so this is already fixed thank you!
h

hundreds-father-404

08/26/2021, 12:11 AM
Cool, 2.6.1rc2 is the latest 2.6 release
c

clean-night-52582

08/26/2021, 12:11 AM
Cool I'll update to
2.6.1
when ever you mark it stable
h

hundreds-father-404

08/26/2021, 12:11 AM
Thanks for the report! We only were notified of it earlier this month - reporting things like this is super helpful
Cool I'll update to 2.6.1 when ever you mark it stable
Probably this week 🙂
c

clean-night-52582

08/26/2021, 12:12 AM
Thanks Eric
❤️ 1
3 Views