sys_info

Function os_type

Source
pub fn os_type() -> Result<String, Error>
Expand description

Get operation system type.

Such as “Linux”, “Darwin”, “Windows”.