Sindbad~EG File Manager

Current Path : /home/infinitibizsol/.trash/node_modules.4/grunt-legacy-util/test/fixtures/
Upload File :
Current File : /home/infinitibizsol/.trash/node_modules.4/grunt-legacy-util/test/fixtures/Gruntfile-execArgv.js

module.exports = function(grunt) {

  var util = require('../../');

  grunt.registerTask('default', function(text) {
    var done = this.async();
    util.spawn({
      grunt: true,
      args: ['--gruntfile', 'Gruntfile-execArgv-child.js'],
    }, function(err, result, code) {
      var matches = result.stdout.match(/^(OUTPUT: .*)/m);
      console.log(matches ? matches[1] : '');
      done();
    });
  });

};

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists