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

roc script shebang arg passing #7405

Open
Anton-4 opened this issue Dec 23, 2024 · 1 comment
Open

roc script shebang arg passing #7405

Anton-4 opened this issue Dec 23, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Anton-4
Copy link
Collaborator

Anton-4 commented Dec 23, 2024

From @KilianVounckx:

When using roc as a shell scripting language with shebang (#!/usr/bin/env roc) at the top, passing args is annoying because the args aren't passed to the script, but to the roc executable. The workaround I have used is to do #!/usr/bin/env -S roc --, so all args are passed to the script, but it would be nice to not have to do this.

We should investigate if we can improve this to get a simplified shebang.

@Anton-4 Anton-4 added the enhancement New feature or request label Dec 23, 2024
@Anton-4
Copy link
Collaborator Author

Anton-4 commented Dec 23, 2024

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

No branches or pull requests

1 participant