Document default working directory for lcd() #634

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

Projects

None yet

2 participants

@techtonik

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

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

@bitprophet
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