You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tracking the Windows half of the pipe port (from #153; the POSIX half was #78).
Plan:
C characterization: Windows process cases in test/cmocka/test_pipe.c (cmd /c children). Covers read and write modes, stderr, exit codes, type handling, nulls, a missing binary, and how os_process_pipe_create2 quotes arguments into one command line (visible through cmd /c echo).
Oracle and RED:pipe-windows.c compiled into obs-c-oracle on Windows. Tier 3 parity tests against todo!() shims.
GREEN: a Rust core that calls Win32 directly (CreatePipe, CreateProcessW with a NULL application name, ReadFile/WriteFile, WaitForSingleObject), not std::process::Command. Command resolves the program itself, can't set STARTF_FORCEOFFFEEDBACK, and limits which handles are inherited, so its observable behavior differs from the C. The command-line quoting becomes a safe, platform-neutral function tested on every OS.
Wiring:util/pipe-windows.c behind ENABLE_RUST_LIBOBS in os-windows.cmake, and the unix markers dropped from rust-exports.d/obs-util-pipe.txt.
I'm on Windows and can build and run the C side locally with MSVC, but Windows CI is the gate.
Activity
rust: Port util/pipe-windows.c to obs-util (GREEN)
test/cmocka: Characterize pipe-windows.c process pipes
rust: Add pipe-windows.c shims, tests and oracle (RED)
rust: Add pipe-windows.c shims, tests and oracle (RED)
rust: Port util/pipe-windows.c to obs-util (GREEN)