update DB table

This commit is contained in:
2025-12-28 03:46:11 +01:00
parent de08431e53
commit 1ae11b02ce
3 changed files with 11 additions and 4 deletions

View File

@@ -77,13 +77,16 @@ def run_test_suite(tasks):
print(f"--- Starting Task: {task['id']} ---")
# Use Popen to stream output in real-time
env = os.environ.copy()
env["PYTHONUNBUFFERED"] = "1"
process = subprocess.Popen(
[shell_script, task['id'], task['cmd'], task['path'], REPO_PATH],
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
text=True,
bufsize=1,
universal_newlines=True
universal_newlines=True,
env=env
)
full_output = ""