dwm-rice/dwmbar/other.py

9 lines
157 B
Python
Raw Permalink Normal View History

2024-02-20 14:22:36 +03:00
import subprocess
def get_command_out(command: str) -> None:
return subprocess.check_output(
command,
shell=True
).decode("utf-8")