Skip to content

[REQUEST] A global config option for stdout and stderr redirection #3652

@shinyano

Description

@shinyano

How would you improve Rich?

To make use of one Python script in various situations, I think it would help to provide a global config option to redirect stdout or not. Especially when process module resdirects stdout by default and sometimes I can only access to stdout of one Python process.

What problem does it solve for you?

I am working on a project where I execute user-written scripts and need to, also only can capture stdout without interference. I wish to get the whole output without setting rules for users' code.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions