Forward worker stderr to main process for debugging
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user