Skip to content

Allow output capture into a stream #5

@rajatjain1997

Description

@rajatjain1997

Currently, stdout/stderr can only be captured into std::string. This can be a problem for programs that dump a huge amount of output. There should be an alternate option to capture the output into an ofstream and read it whenever needed.

I am currently undecided on the syntax since std::ofstream doesn't support creation of streams from file descriptors.

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