jshint/node-jshint — pull request #89 by johnmdonahue (2012-03-08 02:06:15+00:00)
Title: Fix issue in spawn where args are not properly attached

When running `jake lint` (RE: [#87](https://github.com/jshint/node-jshint/pull/87)), I was getting an enormous output and realized that it was a result of the spawned process not using the `--config` flag, and merging in my default `jshintrc` opts. I tried to add the `--config` flag in several ways using `spawn` but failed:

https://gist.github.com/1998016

What ended up working was using `exec`. I am not sure what actually causes this and unfortunately I don't really have the time to look into it now but this fix seems to work. Also I am not sure if or where a test would need to be implemented for this fix. So let me know if I need to do anything there.

Thanks.