Permalink
Browse files

build on Windows - fix spawn command by calling node explicitly

  • Loading branch information...
1 parent ddd6e9a commit 7e32c320572722de0750ae4d33286a266f5ead05 @hickford hickford committed Mar 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Cakefile
View
@@ -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 7e32c32

Please sign in to comment.