Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

[BUG] bins with a file extension in windows need .cmd explicitly added #17

Closed
nlf opened this issue Mar 7, 2022 · 0 comments
Closed

Comments

@nlf
Copy link
Contributor

nlf commented Mar 7, 2022

as part of the whole "detect if the thing being run is a batchfile" work, we need to also ensure that the thing we run is the batchfile directly rather than allowing the shell to resolve the extension for us. this is necessary because bins are sometimes published with an extension, and if the extension is a known file type windows won't try to execute the .cmd file next to it - it'll open it in the associated program.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants