Forward worker stderr to main process for debugging

This commit is contained in:
Aaron D. Lee
2026-01-04 21:06:04 -05:00
parent 70fe8fce62
commit e52a709080

View File

@@ -179,6 +179,10 @@ class SubprocessStego:
cwd=str(self.worker_path.parent), cwd=str(self.worker_path.parent),
) )
# DEBUG: Log worker stderr to main process stderr
if result.stderr:
print(result.stderr, file=sys.stderr, end='')
if result.returncode != 0: if result.returncode != 0:
# Worker crashed # Worker crashed
return { return {