This commit is contained in:
Usman Nasir
2022-06-14 12:47:37 +05:00
parent 1a0808b441
commit 140e042acd

View File

@@ -1,5 +0,0 @@
import subprocess, shlex
command = 'yum list | grep lsphp | xargs -n3 | column -t'
result = subprocess.check_output(command, shell=True).splitlines()
for item in result:
print(item.split(b' '))