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

fix: //usr/bin/env jbang not working on Windows #346

Merged
merged 1 commit into from
Sep 22, 2020

Conversation

quintesse
Copy link
Contributor

@quintesse quintesse commented Sep 22, 2020

The trick of using double slashes to make executable java files
automatically invoke Jbang doesn't work on Windows when using
something like Cygwin. Turns out that triple slashes do work!

Fixes #341

@quintesse quintesse changed the title Fixes #341 Double slash becomes triple slash fix: Fixes #341 Double slash becomes triple slash Sep 22, 2020
@quintesse quintesse changed the title fix: Fixes #341 Double slash becomes triple slash fix: Double slash becomes triple slash Sep 22, 2020
@quintesse quintesse changed the title fix: Double slash becomes triple slash fix: //usr/bin/env jbang not working on Windows Sep 22, 2020
The trick of using double slashes to make executable java files
automatically invoke Jbang doesn't work on Windows when using
something like Cygwin. Turns out that triple slashes do work!

Fixes jbangdev#341
@maxandersen maxandersen merged commit 526d70c into jbangdev:master Sep 22, 2020
@quintesse quintesse deleted the triple_slash branch September 25, 2020 10:56
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.

Shell interpreter Windows 7 MSYS2 or MINGW64
2 participants