Comments (4)
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.
https://github.com/sindresorhus/grunt-shell#failonerror
from grunt-shell.
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.
i switched to grunt-contrib-exec
and everything works in order.
from grunt-shell.
Related Issues (20)
- add '/node_modules/.bin' to the path for executing local commands HOT 1
- error when command has “^” HOT 1
- "Iron-node" command is not working HOT 1
- Keep receiving TypeError: Path must be a string. Received undefined HOT 1
- This socket is closed HOT 2
- SyntaxError: Use of const in strict mode. shell.js:2 HOT 4
- SyntaxError: Use of const in strict mode; shell.js:2 HOT 2
- Bash pattern matching does not work properly with git bash
- Problem with paths added HOT 2
- Conflict with grunt-cli 1.3.x HOT 1
- Problem with chalk dependency in 3.0.0
- bug(commands): Travis Command Line Client
- Update strip-ansi to prevent moderate npm audit issue HOT 2
- time for esm HOT 3
- Print command to terminal for verification
- Stdin does not support read HOT 1
- Each command failOnError callback ? HOT 1
- Git-command stuck HOT 8
- Invalid version: "0.5" HOT 1
- does not work in 1.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grunt-shell.