s6.utils.osΒΆ
Operating-system selection helpers.
- s6.utils.os.os_switch(**cases: Any) str
Return the value matching the current OS from keyword cases.
The first matching key across the current OS aliases wins. Supported aliases include
osx/macos/darwinon macOS, Linux distro IDs such asubuntuwhen available,linuxon generic Linux, andwindows/win32on Windows.