dwm/dwmscripts/dwmbar/other.py

9 lines
157 B
Python
Raw Normal View History

2023-11-01 04:52:21 +03:00
import subprocess
def get_command_out(command: str) -> None:
return subprocess.check_output(
command,
shell=True
).decode("utf-8")