mirror of
https://github.com/flatpak/flatpak.git
synced 2026-02-23 10:25:13 -05:00
Normally, we want to save a process and get better signal handling by replacing the `flatpak run` process with bubblewrap. However, when we're doing profiling or measuring coverage, we want to exit cleanly so that profiling data can be recorded, which is done in an atexit() hook. In this situation, bypass the execve() optimization; instead, start bubblewrap in the background, immediately wait for it, and propagate its exit status. Signed-off-by: Simon McVittie <smcv@collabora.com>
6.2 KiB
6.2 KiB