commit | 2bdb920ece0e05c7db70b6df44d724e4eebd91a0 | [log] [tgz] |
---|---|---|
author | Marc-André Lureau <marcandre.lureau@redhat.com> | Wed Nov 14 16:36:05 2018 +0400 |
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | Mon Jan 14 00:44:29 2019 +0100 |
tree | 0c8f0c69f18fbcbff34131c6464856ac739a2af3 | |
parent | 0aeb4f2c9424fd283df581d0cae3843fcc045e0f [diff] |
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 <marcandre.lureau@redhat.com> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>