GithubHelp home page GithubHelp logo

Comments (3)

leehambley avatar leehambley commented on June 16, 2024

Yeah, that's expected, basically when using a sting or heredoc its
impossible for us to correctly shell escape it. If you could point us at
the place where you would expect that to be documented, we should be more
transparent about that. It is in the Capistrano README and also noted in
the SSHKit examples already, but obviously not prominently enough.

Sent from my Nexus 4.
On 10 Jan 2014 00:14, "signedbyte" [email protected] wrote:

In the execute, if you have a string or hereto, the surrounding blocks are
ignored.
Was that done intentionally? Kind of like if you don't use a symbol to
start the command line statement, you don't get any syntactical sugar? I
wasn't sure if this is really an issue that you're interested in but I have
a usecase for this and it seems like others could too.

My case is like below:

on 'google.com' do
within release_path do
execute <<-SCRIPT bundle exec build.mysql2 --with-mysql-include=/blah/blah bundle exec build.nokogiri --with-xml-lib=/blah/blah SCRIPT
endend

Thanks for taking a look at this.


Reply to this email directly or view it on GitHubhttps://github.com//issues/93
.

from sshkit.

signedbyte avatar signedbyte commented on June 16, 2024

I just read the capistrano README again and I don't see it. I get the decision and would like to note it somewhere in the capistranorb.com. Keep an eye out for a pull request.

from sshkit.

signedbyte avatar signedbyte commented on June 16, 2024

Nevermind, after reading for a good place to put it, I found it in the release notes. Thanks for your reply.

from sshkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.