-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Support shebang line (ES14) #24379
Comments
Deno supports shebangs, see docs for details: https://docs.deno.com/runtime/tutorials/hashbang |
Thanks, could we shorthand |
After shorthand you could handle more permissions if needed #!/usr/bin/env deno --allow-net
console.log("Hello, world!"); |
This doesn't work, you need to use |
Thanks! noted |
Shebang line caused several packages issue, the reason is Deno couldn't support running with executable script.
Working in other runtimes:
In Deno:
You will receive:
The text was updated successfully, but these errors were encountered: