Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
eviks
on Dec 29, 2024
|
parent
|
context
|
favorite
| on:
Fish 4.0: The Fish of Theseus
> What would test -x say on Windows, which has no executable bit?
It would say whether the file extension is executable (part of pathext env variable)
pie_flavor
on Dec 29, 2024
[–]
I should think it says the same thing as on Linux, since there absolutely is an 'executable bit' (GENERIC_EXECUTE) in the ACL.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
It would say whether the file extension is executable (part of pathext env variable)