Possible to detect users OS?

Hi!
I wanna detect a users OS on GLUA. I wanna use GetHTMLMaterial which makes OSX users crash due to the awesominium library being broken on the OSX platform. Is there any way to detect a users OS so I can make sure the code doesn’t execute for OSX users?
Thanks!

Good luck mate.

You could use jit.os.

[editline]17th June 2013[/editline]

Note that it’s a string variable, not a function.

http://gmodwiki.net/Lua/Libraries/system

Oh great thanks Wizard!
Il mark as solved when I have checked it out.