From 7e32c320572722de0750ae4d33286a266f5ead05 Mon Sep 17 00:00:00 2001 From: Matt Hickford Date: Sun, 25 Mar 2012 11:17:46 +0100 Subject: [PATCH] build on Windows - fix spawn command by calling node explicitly --- Cakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cakefile b/Cakefile index a83ad760..5c9d56ab 100644 --- a/Cakefile +++ b/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