jdcataldo / grunt-mocha-phantomjs

A simple grunt wrapper for mocha-phantomjs to allow for ci integration
MIT License
70 stars 40 forks source link

PhantomJS path not handling spaces on Windows #76

Open KB1RMA opened 7 years ago

KB1RMA commented 7 years ago

I'm running into an issue using this on Windows. When I try to run the task I get:

λ grunt mocha_phantomjs                                           
Running "mocha_phantomjs:all" (mocha_phantomjs) task              
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.                                   

It looks like this is a known issue with Spawn and is detailed a bit here: https://github.com/baudehlo/node-phantom-simple/pull/142