Continued implementation of decryption

This commit is contained in:
2022-12-10 12:21:43 +01:00
parent e5806992ce
commit f182e3226a
6 changed files with 83 additions and 27 deletions

View File

@@ -19,8 +19,7 @@ class Cli(object):
for line in stdout:
self.output.append(line.decode("utf-8"))
if process.wait() > bool(0):
print(command, out, err)
raise Exception("Exitcode is greater then 0")
raise Exception("Error for: \nCommand:<<" + command + ">>\nOutput:<<" + out + ">>\nExitcode:<<" + err + ">>")
return self.output
def getOutputString(self):