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

Fancy windows development #141

Closed
PaS3 opened this issue May 28, 2019 · 1 comment
Closed

Fancy windows development #141

PaS3 opened this issue May 28, 2019 · 1 comment

Comments

@PaS3
Copy link

PaS3 commented May 28, 2019

The git pull, gets the Windows ^M line-ends version.
I need to do dos2unix to clean it while others may be stuck on failed executions from exported terminal bins in PATH.

It requires explicit python interpreter calling instead of using

 #!/usr/bin/env python3
 or
 #!/usr/bin/python3

Henceforth, exporting my PATH=/hack/bins/ would fail.
./photon.py

Please always save clean UNIX format!

@speedmann
Copy link

exorting PATH=/hack/bins is always a bad idea.

Using #!/usr/bin/env python3 is the correct way of getting the python executeable and should always be done.

Also, on any system which is correctly configured, the ^M should not cause any issues. I tested several systems now and had no issues with this.

@s0md3v s0md3v closed this as completed Jun 25, 2019
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

No branches or pull requests

3 participants