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

make node sub command work in windows #194

Closed
wants to merge 2 commits into from

Conversation

dead-horse
Copy link

in windows, we can not execute the sub command only by the filename, need to use process.execPath.

and only try this in win32 platform and when ENOENT error happened, to avoid this change make existing packages depend on commander crashed.

only try this in win32 platform and after ENOENT error happened.
@dead-horse
Copy link
Author

@visionmedia take a look at this? really need this fix, my node cli tool can not run in windows now.

@dead-horse
Copy link
Author

ping @visionmedia

@zhiyelee
Copy link
Collaborator

@dead-horse Thx, but this PR is out of date. Closed #307

@zhiyelee zhiyelee closed this Dec 24, 2014
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