Re: [PATCH v2 1/3] io/command: use glib GSpawn, instead of open-coding fork/exec

2022-10-03 Thread Daniel P . Berrangé
On Fri, Sep 02, 2022 at 03:18:58PM +0400, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > Simplify qio_channel_command_new_spawn() with GSpawn API. This will > allow to build for WIN32 in the following patches. There a change in semantics here too. The current code only touches

[PATCH v2 1/3] io/command: use glib GSpawn, instead of open-coding fork/exec

2022-09-02 Thread marcandre . lureau
From: Marc-André Lureau Simplify qio_channel_command_new_spawn() with GSpawn API. This will allow to build for WIN32 in the following patches. Signed-off-by: Marc-André Lureau --- include/io/channel-command.h | 2 +- io/channel-command.c | 105 ++- 2 f