Skip to content

Make redirecting stdout/stderr optional #205

@matthijskooijman

Description

@matthijskooijman

Feature Request

Description

Currently, omxplayer is always started with stdout redirected to /dev/null and stderr left untouched (e.g. print to the calling process's stderr). This sometimes throws away valuable information including errors (which omxplayer currently prints to stdout.

It would be helpful if this redirection could be disabled, or redirected to a file or a pipe. Maybe the default should be changed to not redirect?

For completeness, allowing redirects of stderr would also be helpful.

Implementing this could be a matter of passing the stdin/stdout arguments from the OMXPlayer constructor all the way to subprocess.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions