Re: Windows executables

anatoly techtonik <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <CAPkN8xLRML3J-3ygxvjODg8VKM-Wd+RCLaNtkU8jwAyfJx9Wdg@mail.gmail.com>
On Wed, Sep 21, 2016 at 4:22 AM, William Blevins <[email protected]> wrote:
> Team,
>
> I have a really dumb question (probably).

Dumb questions are the most interesting. =)

> Some of the SCons tests that execute binaries have code to check whether or
> not the platform is win32. If win32, then add ".exe" extension to the
> executable name. Is this a requirement or just a convention?
>
> Can you not run an executable on Windows that doesn't have the extension?

Native Windows file systems doesn't have flag that marks file as
executable, so it uses file extension to figure that out. Well, you
still can specify custom commands to run for specific extensions
http://stackoverflow.com/a/1936078/239247
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.