diff --git a/package.json b/package.json index f01b158..154d843 100755 --- a/package.json +++ b/package.json @@ -25,7 +25,8 @@ "node": ">=0.8.0" }, "dependencies": { - "async": "~0.2.0" + "async": "~0.2.0", + "win-spawn": "2.0.0" }, "devDependencies": { "grunt-contrib-jshint": "~0.6.2", diff --git a/tasks/grunt-appengine.js b/tasks/grunt-appengine.js index 7924c85..61a50ad 100755 --- a/tasks/grunt-appengine.js +++ b/tasks/grunt-appengine.js @@ -1,6 +1,7 @@ 'use strict'; -var path = require('path'); +var path = require('path'); +var spawn = require('win-spawn'); module.exports = function (grunt) { @@ -24,7 +25,6 @@ module.exports = function (grunt) { function spawned(done, cmd, args, opts) { function spawnFunc() { - var spawn = require('child_process').spawn; spawn(cmd, args || [], opts || {}).on('exit', function (status) { done(status === 0); });