Skip to content

Non linux-distro shebang #8654

Closed
strnh wants to merge 5 commits intopgadmin-org:masterfrom
strnh:master
Closed

Non linux-distro shebang #8654
strnh wants to merge 5 commits intopgadmin-org:masterfrom
strnh:master

Conversation

@strnh
Copy link
Copy Markdown

@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
Copy Markdown
Contributor

@strnh

Please fix the Python code style.

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
Copy link
Copy Markdown
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?

config.EFFECTIVE_SERVER_PORT)
)
sys.stdout.flush()
webbrowser.open(f"http://{config.DEFAULT_SERVER}:{config.EFFECTIVE_SERVER_PORT}")
Copy link
Copy Markdown
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.

@akshay-joshi
Copy link
Copy Markdown
Contributor

Closing the PR due to no response from the author since April 21st.

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