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

Executing linux executables ./ doesn't work :S #285

Closed
rizowski opened this issue Oct 9, 2014 · 2 comments
Closed

Executing linux executables ./ doesn't work :S #285

rizowski opened this issue Oct 9, 2014 · 2 comments

Comments

@rizowski
Copy link

rizowski commented Oct 9, 2014

I have been trying to use ./myExecutable or exec myExecutable and neither one works. How do you execute some kind of executable from a fresh download of CMder? This particular file is a script with no file extension but is marked as an executable using linux tags.

@rmorrin
Copy link
Contributor

rmorrin commented Oct 14, 2014

What kind of script is it? If it's a regular shell script you should be able to use the following:

sh ./myExecutable

This assumes you have the full version of cmder installed (with msysgit) or git's included Unix tools are accessible via your PATH.

@rizowski
Copy link
Author

Ah there it is. I was missing the sh. It kept saying ./ is not a command

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

No branches or pull requests

2 participants