LookingGlass/common/src/platform
Quantum 57d220a43b [common] open: detach xdg-open instead of waiting for it
Sometimes, e.g. when xdg-open has to start the browser, the xdg-open
process can stay around until the browser exits, which freezes the
client. Instead, we should not wait for xdg-open to exit.

However, we can't simply not call wait, as that would leave the
xdg-open process around as a zombie. We could turn off the SIGCHLD
handler, but that's a global solution to a local problem. Instead, we
call setsid and fork again to detach the xdg-open process as if it's a
daemon, and let init take care of the reaping process.

Co-Authored-By: Tudor Brindus <me@tbrindus.ca>
2021-09-27 13:35:08 +10:00
..
linux [common] open: detach xdg-open instead of waiting for it 2021-09-27 13:35:08 +10:00
windows [common] cpuinfo: handle more than 64 threads on Windows 2021-09-04 13:25:24 +10:00
CMakeLists.txt [common/c-host] move agnostic code into common library 2020-01-02 22:21:42 +11:00