Skip to content

Commit

Permalink
Merge pull request #3 from jonasfj/master
Browse files Browse the repository at this point in the history
Added windows support using win-spawn
  • Loading branch information
stephanos committed Apr 16, 2014
2 parents 3144a64 + 6013c07 commit b037434
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions 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) {

Expand All @@ -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);
});
Expand Down

0 comments on commit b037434

Please sign in to comment.