Closed mgol closed 10 years ago
Setting the following options:
webdriverUpdate: {
options: {
execOptions: {
maxBuffer: 1024 * 1024 * 64,
},
},
command: './bin/webdriver-update',
},
help though it's weird I cannot just route a bash command without specifying additional options.
grunt-shell is best for short running processes as it uses childProcess.exec
which buffers the output until the process exits. Try something based on childProcess.spawn
like https://www.npmjs.org/search?q=grunt%20spawn
I use the following script:
When I run it manually via
./bin/webdriver-update
, it runs just fine:but when run via grunt-shell (both 0.7.0 & 1.0.1) I get this:
Node 0.10.31, Grunt 0.4.5. grunt-shell config: