'use strict';

var exec = require('./exec');
var _ = require('lodash');

function runMeteor(inDir, environmentVariables) {
    var env = _.extend(environmentVariables, process.env);
    return exec("meteor", [], {tag: "Meteor run.", options: {cwd: inDir, env: env}});
};

module.exports = runMeteor;

'use strict';

var exec = require('./exec');
var _ = require('lodash');

function runMeteor(inDir, environmentVariables) {
    var env = _.extend(environmentVariables, process.env);
    var meteor = (process.platform === "win32" ? "meteor.bat" : "meteor");
    return exec(meteor, [], {tag: "Meteor run.", options: {cwd: inDir, env: env}});
};

module.exports = runMeteor;

Add check for Windows environment when launching Meteor.
Add check for Windows environment when launching Meteor.
