Library proposal: Add System.Info.isWindows
Bulat Ziganshin
bulat.ziganshin at gmail.com
Tue Aug 7 01:37:38 EDT 2007
Hello Thomas,
Tuesday, August 7, 2007, 12:24:00 AM, you wrote:
>> .... = os == "mingw"
> is hardly better, because this opens the door to political issues
> (why not have isLinux, isFreeBSD, isNetBSD, ...?)
i bet that above-mentioned System.Info.os should alow to test for
these situations. it return unix-specific string so it should be good to
distinguish any unix OSes and only recognizing windows is a problem
--
Best regards,
Bulat mailto:Bulat.Ziganshin at gmail.com
More information about the Libraries
mailing list