diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2018-11-14 16:36:05 +0400 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-01-14 00:44:29 +0100 |
commit | 2bdb920ece0e05c7db70b6df44d724e4eebd91a0 (patch) | |
tree | 0c8f0c69f18fbcbff34131c6464856ac739a2af3 /slirp/ip_icmp.c | |
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>
Diffstat (limited to 'slirp/ip_icmp.c')
0 files changed, 0 insertions, 0 deletions