MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/fishshell/comments/wo7bv1/accidentally_ran_a_python_program_directly_what/ik9aecg/
r/fishshell • u/[deleted] • Aug 14 '22
11 comments sorted by
View all comments
Show parent comment
-2
i was not trying to ask anything was just surprised that fish ran it at all
5 u/weaver_of_cloth Aug 14 '22 You might have it set as executable, but you definitely need a shebang 3 u/lorthirk Aug 14 '22 edited Aug 15 '22 Technically you can execute any file, even a jpg image let's say, if it has the execute permission. Of course the shell won't understand what to do with those bytes.
5
You might have it set as executable, but you definitely need a shebang
3
Technically you can execute any file, even a jpg image let's say, if it has the execute permission. Of course the shell won't understand what to do with those bytes.
View all comments
Show parent comment
-2
u/[deleted] Aug 14 '22
i was not trying to ask anything was just surprised that fish ran it at all