From: Marc-André Lureau <marcandre.lureau@redhat.com>
Hi,
This enables support of command spawning in the io/ subsystem on Windows.
v3:
- actually make it work :) (it seems I didn't test correctly earlier attempts)
- add a patch for readv_writev() and partial IOs
- add a patch to avoid some potential race in echo test
- drop usage of PIPE_NOWAIT which was broken
Marc-André Lureau (5):
osdep: make readv_writev() work with partial read/write
tests/channel-helper: set blocking in main thread
io/command: use glib GSpawn, instead of open-coding fork/exec
io/command: implement support for win32
tests/unit: make test-io-channel-command work on win32
include/io/channel-command.h | 5 +-
io/channel-command.c | 185 +++++++++++----------------
tests/unit/io-channel-helpers.c | 9 +-
tests/unit/test-io-channel-command.c | 32 ++---
util/osdep.c | 10 +-
tests/unit/meson.build | 2 +-
6 files changed, 107 insertions(+), 136 deletions(-)
--
2.37.3