On Thu, Aug 14, 2014 at 12:50 PM, Eric Cronin <[email protected]> wrote:

> The pushd/popd came from the existing svn support, since it makes no sense
> in a system() call I assumed it was intentionally done for the output vs a
> single cd at the start (system -W didn't exist yet back then I think).


Was that perhaps copied from something that was originally cross-platform?
There are some idiosyncrasies when using a Unix-like shell on Windows. (The
current directory is part of a drive, and is *not* per process like it is
on Unixes, so you can need pushd/popd in subprocesses.)

-- 
brandon s allbery kf8nh                               sine nomine associates
[email protected]                                  [email protected]
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to