Skip to content

Add an option to not capture stdout and stderr #892

@Hugal31

Description

@Hugal31

Description

When using ExecuteProcess and its childs, the current mechanism to capture the stdout and re-emit it with a prefix is fine. However, I would like an option to not capture those output.

Motivation

We are using systemd-journal to monitor our logs, and it comes with the added benefit kinda structured logs:
you can filter by executable, command line, stdout vs stderr, etc...

However, by stepping between the difference processes and journald, launch removes this kind of information and add the process name in the MESSAGE field of the journal entry instead of using another variable.

Design / Implementation Considerations

It would probably mean to update osrf_pycommon as well to be able to pass the correct stdout/stderr values to loop.subprocess_exec.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions