sindresorhus/grunt-concurrent — pull request #45 by tuvistavie (2014-08-05 05:28:14+00:00)
Title: Add option to set grunt path.

grunt is spawned using `grunt.util.spawn({grunt: true})`, which
is fine for almost all use cases. However, when running
Grunt programatically, let's say you have `run.js` with

```
require('grunt').tasks()
```

and try to run

```
node run.js
```

`grunt.util.spawn({grunt: true})` will spawn `node run.js` instead of `grunt`.
I suppose it uses argv to choose the command to run.

I am aware that this is rather an issue of grunt than one of this package,
but this little workaround should not do any harm
(if the option is not set, the behavior will not change), and could
be useful for such a use case.