Windows: port the process helper and fix a stdin deadlock

- Tests: build VoidProcessHelper on Windows with the fork/poll-based modes
  compiled out, binary stdio, and a Windows fd listing; enable the
  ProcessStream suite there.
- Process (Windows): communicate_blocking could block forever when the
  stdin write completed synchronously: the wait only armed pending
  operations, so the stdin pipe was never closed and the child never saw
  EOF. Complete ready operations before waiting, and report real EOF only
  when a read actually reached end of stream.
This commit is contained in:
faumaray committed 2026-12-06 15:42:31 +03:00
1 parent b3c959b920
commit 9f45841c7d
4 files changed
+115 -60

No files matched your search

@@ -1,4 +1,3 @@
// @requires-posix: streaming tests drive the POSIX process helper.
#include <Void/System/Process.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Suite.hpp>