New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document default working directory for lcd() #634

Closed
techtonik opened this Issue May 9, 2012 · 2 comments

Comments

Projects
None yet
2 participants
@techtonik

techtonik commented May 9, 2012

cd() documentation mentions that default working directory on the remote side is $HOME.

But lcd() doc is silent about default working dir for local(). Is it a fabfile.py location or cwd or anything random?
http://docs.fabfile.org/en/1.4.2/api/core/operations.html#fabric.operations.local

@techtonik

This comment has been minimized.

techtonik commented May 9, 2012

It looks like the default working dir is current working directory at the time of fab invocation. That means it's random.

@bitprophet

This comment has been minimized.

Member

bitprophet commented May 9, 2012

That's not random, that's os.getcwd() :) I don't think it's worth changing to be hooked to the fabfile location or anything, but I agree it should be explicitly documented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment