Skip to content
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
Closed

Document default working directory for lcd() #634

techtonik opened this issue May 9, 2012 · 2 comments

Comments

@techtonik
Copy link

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
Copy link
Author

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

@bitprophet
Copy link
Member

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
Projects
None yet
Development

No branches or pull requests

2 participants