dwmbar/other.py

9 lines
157 B
Python
Raw Permalink Normal View History

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