nodejitsu/haibu-carapace — pull request #29 by stammen (2012-12-04 17:13:45+00:00)
Title: Windows fixes

The windows-fix branch makes a few changes to allow haibu-carapace to run on windows. The following changes were made:

1. bumped vows dependency to version 0.7.x so npm test will run on windows.
2. fixed example spawner.js to set carapace.script to the script. carapace.run() will not work unless this is set. example seems out of sync with how carapace.run() is currently implemented.
3. fixed carapace checks for absolute paths so they also work on windows.
4. changes calls to spawn() to use process.execPath as the cmd arg. win32 needs the path to node in order to spawn a script.
5. removed test for port 1024 from test/net/errors-test.js (win32 only) as windows will allow non-root access to ports less than 1024, including port 80.
6. removed process.exit(0) from test\fixtures\checkchildargs.js. process.exit() was terminating process before data from console.log could be sent to stdout.
7. added .idea/ to .gitignore to ignore Webstorm IDE files.

All npm tests pass on windows/mac/linux