n1k0/casperjs — pull request #258 by AndiDog (2012-10-23 13:12:38+00:00)
Title: Added start script for Windows

This adds a batch file for starting casperjs on Windows (requires installed Python in the PATH). It also changes the use of os.exec to subprocess (only on Windows) so that the correct exit code is returned instead of starting casperjs in the background.

One only has to add the casperjs\bin folder to the PATH and running on Windows becomes as simple as

set PHANTOMJS_EXECUTABLE=Path\To\phantomjs-1.7.0-wind
ows\phantomjs.exe
casperjs