This behaves just like the sh/cmd.exe equivalents. pushd/popd are useful to verify path handling of the driver, typically testing prefix maps or relative path handling. Differential Revision: https://reviews.llvm.org/D125502