lua-users home
lua-l archive

Re: Detect Windows reliably

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 29/09/2014 10.56, Victor Bombi wrote:
Best hack for me:
-----------------extracted from penligth (Steve Donovan)
local is_windows = package.config:sub(1,1) == '\\'
Yes, that's what Oliver Kroth and Dirk Laurie also suggested. Thanks to all!
--
 Enrico

AltStyle によって変換されたページ (->オリジナル) /