Platform Detection

lua-users home
wiki

Here's some references on detecting the OS platform from Lua.

Note: some things can be tricky like Cygwin, which is like a *nix emulator on Windows. For portability purposes, Cygwin is mainly considered *nix, but it has some Windows features.


RecentChanges · preferences
edit · history
Last edited February 22, 2011 2:10 pm GMT (diff)