[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 0/6] io/command: implement portable spawn
From: |
marcandre . lureau |
Subject: |
[PATCH v4 0/6] io/command: implement portable spawn |
Date: |
Thu, 6 Oct 2022 15:36:51 +0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Hi,
This enables support of command spawning in the io/ subsystem on Windows.
v4:
- add "util: make do_send_recv work with partial send/recv" patch
- drop usage of SOCAT environment variable for tests
- misc style fixes
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 (6):
osdep: make readv_writev() work with partial read/write
util: make do_send_recv work with partial send/recv
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 | 37 +++---
util/iov.c | 10 +-
util/osdep.c | 11 +-
6 files changed, 119 insertions(+), 138 deletions(-)
--
2.37.3
- [PATCH v4 0/6] io/command: implement portable spawn,
marcandre . lureau <=
- [PATCH v4 1/6] osdep: make readv_writev() work with partial read/write, marcandre . lureau, 2022/10/06
- [PATCH v4 2/6] util: make do_send_recv work with partial send/recv, marcandre . lureau, 2022/10/06
- [PATCH v4 5/6] io/command: implement support for win32, marcandre . lureau, 2022/10/06
- [PATCH v4 3/6] tests/channel-helper: set blocking in main thread, marcandre . lureau, 2022/10/06
- [PATCH v4 4/6] io/command: use glib GSpawn, instead of open-coding fork/exec, marcandre . lureau, 2022/10/06
- [PATCH v4 6/6] tests/unit: make test-io-channel-command work on win32, marcandre . lureau, 2022/10/06