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

Remote change directory #126

Closed
marcioamr opened this issue Mar 5, 2016 · 1 comment
Closed

Remote change directory #126

marcioamr opened this issue Mar 5, 2016 · 1 comment
Labels

Comments

@marcioamr
Copy link

I can't change the remote directory.

remote.cd('/usr/local/folder');

Or

remote.exec(cd '/usr/local/folder');

Neither of them worked for me.

  • I'm using 0.6.10 version of Flightplan.
@pstadler
Copy link
Owner

pstadler commented Mar 5, 2016

You probably want to use transport#with(). Docs: https://github.com/pstadler/flightplan#transportwithcommandoptions-options-fn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants