Skip to content

Output capturing #12

Open
Open

Description

@epage
No description provided.

Activity

  1. added
    A-libtest2Area: libtest implemented on top of the new harness
    C-enhancementCategory: Raise on the bar on expectations
    on Apr 25, 2023
  2. epage commented on May 13, 2023

    @epage
    CollaboratorAuthor

    dyn Write before but was ripped though

    Exploit the lock for where to insert this?

    What about thread local file handle?

    • What about spawning a thread

    Concern about the quality of the feature for stablizing

    • not universal for all output sources (e.g. libc)
  3. epage commented on Oct 11, 2023

    @epage
    CollaboratorAuthor

    https://docs.rs/gag/latest/gag/index.html is interesting (though Linux only)

  4. added a commit that references this issue on Mar 5, 2025
  5. stefnotch commented on Oct 1, 2026

    @stefnotch

    https://docs.rs/gag/latest/gag/index.html uses filedescriptor which is a cross platform (Windows, Linux, MacOS) library.

    gag specifically calls this function to redirect stdio
    https://github.com/wezterm/wezterm/blob/cab25161054c50fd6c705db4ceefef0f1e5a9575/filedescriptor/src/lib.rs#L335

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-libtest2Area: libtest implemented on top of the new harnessC-enhancementCategory: Raise on the bar on expectations

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions