-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.os-windowsstandard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.
Milestone
Description
Extracted from #20059.
Currently, on Windows, std.Progress
is implemented for the root process that owns the terminal, however it is not able to collect progress information from the child processes that it spawns.
This issue can be closed when child processes using std.Progress
on Windows communicate their progress to parent processes.
A simple way to test this would be adapting this example to also work on Windows:
https://gist.github.com/andrewrk/b22b4f663cef6b4672d7097de95ea343
For POSIX systems this is implemented by a dedicated pipe file descriptor that is passed from parent to child, much like stdio streams. It should be possible to do something equivalent on Windows.
mattg-97
Metadata
Metadata
Assignees
Labels
contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.os-windowsstandard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.