mirror of
https://github.com/nicolargo/glances.git
synced 2025-01-04 16:03:52 +03:00
Add support to detect WSL
This commit is contained in:
parent
22676c6a21
commit
2340881dde
@ -22,6 +22,7 @@
|
||||
import errno
|
||||
import os
|
||||
import sys
|
||||
import platform
|
||||
|
||||
# OS constants (some libraries/features are OS-dependent)
|
||||
BSD = sys.platform.find('bsd') != -1
|
||||
|
Loading…
Reference in New Issue
Block a user