j143 edited a comment on pull request #1325: URL: https://github.com/apache/systemds/pull/1325#issuecomment-868991300
Should we use `cd`? The `pushd` and `popd` may work like, which is a built-in function. ```sh pushd () { dirname=$1 DIR_STACK="$dirname ${DIR_STACK:-$PWD' '}" cd ${dirname:?"missing directory name."} echo "$DIR_STACK" } popd () { DIR_STACK=${DIR_STACK#* } cd ${DIR_STACK%% *} echo "$PWD" } ``` Does this spawn a subshell? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@systemds.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org