https://pantsbuild.org/ logo
#development
Title
# development
a

average-vr-56795

03/10/2021, 10:58 PM
This is probably a terrible idea, but... What would folks think about pants `chdir`ing to a dir other than the buildroot early in start-up, to discourage folks naively calling things like
open
and having them Just Work?
❤️ 1
h

happy-kitchen-89482

03/10/2021, 11:03 PM
I can imagine putting that behind an option, at any rate!
So there's an escape hatch
a

average-vr-56795

03/10/2021, 11:11 PM
Sounds good!
(Or at least, less bad 😄)
w

witty-crayon-22786

03/11/2021, 12:05 AM
that’s… a great idea.
and … a huge project. but yes, we should do that, heh
⬆️ 2
h

happy-kitchen-89482

03/12/2021, 3:14 AM
It would be fun to just do it and see what breaks...
w

witty-crayon-22786

03/12/2021, 3:44 AM
It would probably unblock executing from other directories as well, because you'd have to absolutize cli args before clearing the cwd
💯 1