Re: [Qemu-devel] [PATCH for-3.2 13/13] slirp: simplify fork_exec()
Marc-André Lureau, le sam. 10 nov. 2018 17:45:48 +0400, a ecrit: > Use g_spawn_async_with_fds() to setup the child. > > GSpawn handles reaping the child, and closing parent file descriptors. Similarly :) Samuel
[Qemu-devel] [PATCH for-3.2 13/13] slirp: simplify fork_exec()
Use g_spawn_async_with_fds() to setup the child. GSpawn handles reaping the child, and closing parent file descriptors. Signed-off-by: Marc-André Lureau --- slirp/misc.c | 77 +--- 1 file changed, 37 insertions(+), 40 deletions(-) diff --git a/sl