[Ironpython-users] Working Directory

Jeff Hardy jdhardy at gmail.com
Fri Aug 26 17:50:13 CEST 2011


On Fri, Aug 26, 2011 at 7:56 AM, Paul Grenyer <paul.grenyer at gmail.com> wrote:
> Yeah, that feels like quite a hack. It's odd you can't set the working
> directory for the python executable.

It's not that odd - very few console programs let you set their
working directory from the command line. If you need temporarily
switch directories in a script, then you want pushd[1] and popd[2].

- Jeff

[1] http://ss64.com/nt/pushd.html
[2] http://ss64.com/nt/popd.html


More information about the Ironpython-users mailing list