Skip to content

How to hide output while using the pattern option #88

Open
@patrick91

Description

Is there a way to hide all the ouput while using the pattern option? I've tried this:

class Starter(ProcessStarter):
    env = {"PYTHONUNBUFFERED": "1", **os.environ}
    pattern = BOOT_MSG
    popen_kwargs = {
        "stdout": subprocess.DEVNULL,
        "stderr": subprocess.STDOUT,
    }

but it breaks the pattern check :)

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions