[Scons-dev] Windows executables

anatoly techtonik techtonik at gmail.com
Wed Sep 21 05:42:08 EDT 2016


On Wed, Sep 21, 2016 at 4:22 AM, William Blevins <wblevins001 at gmail.com> 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


More information about the Scons-dev mailing list