GithubHelp home page GithubHelp logo

Comments (4)

ralyodio avatar ralyodio commented on May 12, 2024

So I tried grunt-exec and it reported an error exit code on the rsync command. I believe the output buffer is too large maybe. Not sure, but I think grunt-shell should fail on erroneous exit codes like grunt-exec does.

When I run rsync with -q (quiet) the command finishes.

from grunt-shell.

sindresorhus avatar sindresorhus commented on May 12, 2024

https://github.com/sindresorhus/grunt-shell#failonerror

from grunt-shell.

jonhatalla avatar jonhatalla commented on May 12, 2024

I am experiencing this issue as well, except with completely different types of shell commands.

my angular project requires rails backend - so i'm running bundle install in one shell command, and then in another running bundle exec db:reset, etc

if i run these command separately (e.g. grunt shell:build_ruby), everything executes completely and finishes in order. However when I run them in sequence in a combined grunt task, such as...
grunt.registerTask('load:admin_server', [
'shell:checkout_admin',
'shell:build_admin',
'shell:run_server'
]);

the build_admin task does not have time to complete, and is brushed over. If i put a dummy command such as 'pwd' early in that script - it sometimes appears in the logs for shell:run_server

I can provide more examples of this if needed.

from grunt-shell.

ralyodio avatar ralyodio commented on May 12, 2024

i switched to grunt-contrib-exec and everything works in order.

from grunt-shell.

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.