Skip to content

in GUI mode, when capturing stdout or stderr, prefix the log line with stdout or stderr #17

@jamesabel

Description

@jamesabel

Currently in GUI mode, stdout and stderr are captured. This is because many GUI OSs (Windows) raise an exception or error when a GUI app writes to stdout or stderr.

While this currently works in Balsa, there's no indication that a log was indeed from stdout or stderr. The lines are directly written to the log without an indication of where they came from.

Current behavior:
2024-05-06T10:53:40.229075-07:00 - root - MainProcess - balsa.py - 71 - write - INFO - ZeroDivisionError

Desired behavior:
2024-05-06T10:53:40.229075-07:00 - root - MainProcess - balsa.py - 71 - write - INFO - stderr: "ZeroDivisionError"

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions