several bug fixes to docker apps feature

This commit is contained in:
usmannasir
2024-10-03 15:35:30 +05:00
parent 13e51d76f3
commit d4df241420
6 changed files with 85 additions and 10 deletions

View File

@@ -34,6 +34,9 @@ class ServerStatusUtil(multi.Thread):
@staticmethod
def executioner(command, statusFile):
try:
if os.path.exists(ProcessUtilities.debugPath):
logging.CyberCPLogFileWriter.writeToFile(command)
res = subprocess.call(command, stdout=statusFile, stderr=statusFile, shell=True)
if res == 1:
return 0