<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Aug 14, 2014 at 12:50 PM, Eric Cronin <span dir="ltr">&lt;<a href="mailto:ecronin@macports.org" target="_blank">ecronin@macports.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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&#39;t exist yet back then I think).</blockquote>
</div><br>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.)<br>
<div><br></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div>
<div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div>
</div></div>