1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

build on Windows - fix spawn command by calling node explicitly

This commit is contained in:
Matt Hickford 2012-03-25 11:17:46 +01:00
parent ddd6e9a48b
commit 7e32c32057

View file

@ -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