Added function for execute command and return the real value
This commit is contained in:
parent
deeb2b0531
commit
c6fb184328
3 changed files with 6 additions and 2 deletions
|
|
@ -16,6 +16,10 @@ def shell_command(command):
|
|||
else:
|
||||
return True
|
||||
|
||||
def shell_command_ret(command):
|
||||
|
||||
return call(command, shell=True)
|
||||
|
||||
def check_distro(arr_command):
|
||||
|
||||
distro_id=distro.id()
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ build-backend = "flit_core.buildapi"
|
|||
name = "cuchulucputils"
|
||||
authors = [{name = "Antonio de la Rosa", email = "antonio.delarosa@salirdelhoyo.com"}]
|
||||
readme = "README.md"
|
||||
version = "0.76.5"
|
||||
version = "0.76.6"
|
||||
description = "Utils for make *nix scripts."
|
||||
# dynamic = ["version", "description"]
|
||||
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -9,7 +9,7 @@ if sys.version_info < (3, 9):
|
|||
raise NotImplementedError("Sorry, you need at least Python 3.9 for use cuchulucputils.")
|
||||
|
||||
setup(name='cuchulucputils',
|
||||
version='0.76.5',
|
||||
version='0.76.6',
|
||||
description='Utils for make *nix scripts.',
|
||||
long_description='Utils for make *nix scripts.',
|
||||
author='Antonio de la Rosa Caballero',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue