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

enough-analyst-54434

12/09/2016, 3:50 AM
I think twitter guidance on using pushd/popd vs a subshell with a single cd is misguided unless performance is critical - but then why bash? - a (cd $DIR; commands...) is good for all the reasons context managers, RAII, etc are good - plus no platform difference