1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-01-10 13:17:58 +03:00

Added independence of scripts from each other

This commit is contained in:
Valery Sinelnikov 2022-06-27 15:26:02 +04:00
parent 73404ceced
commit 9a74efefde

View File

@ -104,8 +104,8 @@ class Scripts_runner:
def run_cmd_subprocess(self, cmd):
try:
res = subprocess.check_output(cmd, encoding='utf-8')
return 'Script output: {}'.format(res)
subprocess.Popen(cmd)
return 'Script run: {}'.format(cmd)
except Exception as exc:
return exc