Permalink
Browse files

Merge pull request #2219 from matt-hickford/build-windows-alternative

build on Windows - fix spawn command by calling node explicitly
  • Loading branch information...
2 parents 34be878 + 7e32c32 commit c3159e48c80392d8a5a8b8a38b734a258015926c @jashkenas jashkenas committed Apr 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Cakefile
View
2 Cakefile
@@ -34,7 +34,7 @@ sources = [
# Run a CoffeeScript through our node/coffee interpreter.
run = (args, cb) ->
- proc = spawn 'bin/coffee', args
+ proc = spawn 'node', ['bin/coffee'].concat(args)
proc.stderr.on 'data', (buffer) -> console.log buffer.toString()
proc.on 'exit', (status) ->
process.exit(1) if status != 0

0 comments on commit c3159e4

Please sign in to comment.