Skip to content

Non linux-distro shebang #8654

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Non linux-distro shebang #8654

wants to merge 5 commits into from

Conversation

strnh
Copy link

@strnh strnh commented Apr 10, 2025

change "/bin/bash" -> "/usr/bin/env bash"

strnh and others added 4 commits April 11, 2025 07:53
fix bash path formally
Not Linux. fix shebang form.
for all unixen
@akshay-joshi
Copy link
Contributor

@strnh

Please fix the Python code style.

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the reason for this proposed change?

@@ -173,6 +177,7 @@ def main():
config.EFFECTIVE_SERVER_PORT)
)
sys.stdout.flush()
webbrowser.open(f"http://{config.DEFAULT_SERVER}:{config.EFFECTIVE_SERVER_PORT}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The URL is already prepared in the previous line, so you can prepare it using a variable and use it in both places.

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.

3 participants