Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update meteor.js to fix "iron run" command bug on windows #190

Merged
merged 2 commits into from Sep 1, 2015
Merged

Update meteor.js to fix "iron run" command bug on windows #190

merged 2 commits into from Sep 1, 2015

Conversation

ghost
Copy link

@ghost ghost commented Aug 30, 2015

and fixed "Run error on Windows" #138

@ghost ghost mentioned this pull request Aug 30, 2015
@ghost ghost changed the title Update meteor.js to fix "iron run" command bug Update meteor.js to fix "iron run" command bug on windows Aug 30, 2015
@@ -163,11 +163,12 @@ module.exports.invokeMeteorCommand = function invokeMeteorCommand(cmd, args) {

var future = new Future;

var child = spawn('meteor', [cmd].concat(args), {
var child = spawn(process.platform === "win32" ? 'meteor.bat' : 'meteor', [cmd].concat(args), {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is meteor.bat the windows executable?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah! @chrisbutler the exec file is "meteor.bat". and you can find it in here. ^_^

https://github.com/anticoders/gagarin/pull/127/files

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chrisbutler bingo!

@wodCZ
Copy link

wodCZ commented Sep 1, 2015

works great now! Thank You for this!

chrisbutler pushed a commit that referenced this pull request Sep 1, 2015
Update meteor.js to fix "iron run" command bug on windows
@chrisbutler chrisbutler merged commit 5871f01 into iron-meteor:master Sep 1, 2015
@chrisbutler
Copy link
Contributor

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants