Closed dclong closed 4 years ago
Try executing the script by calling the interpreter manually, like this:
$ python hello.py
instead of this:
$ ./hello.py
Same applies for Shell/Bash scripts, of course changing the interpreter:
$ bash hello.sh
I do know that we can run scripts in this way, but it's rather inconvenient. Also, I have some dependencies that execute scripts using the Shebang way. It's a nightmare to fix all of these.
What would be another way of running them @dclong ?
@santiagobasulto Sorry for the confusion. By "the Shebang way" I mean have #!/bin/bash
etc. in the first line of a file, make the file executable and run it using ./hello.sh
. It's the exactly the first way we talked about above. I have some dependencies that have the hard coded way of ./hello.sh
running scripts. I cannot fix all of them.
Why don't we support running scripts using the shebang way?
We hadn't realized that it wasn't possible to do ./hello.sh
before 😱 . Thanks for the report, we'll fix it.
Any update?
Seems that this issue has been fixed.
For example, Shell/Python scripts cannot be run even I make them runnable by
chmod +x
.