This commit is contained in:
Usman Nasir
2022-06-14 12:47:37 +05:00
parent 2ba1a2a204
commit 61c79eb779

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' '))