Spawn errors leave a lingering child process
Author: YaLTeRCreated Feb 24, 2024Updated Sep 22, 2026
This happens because Command::spawn() waits for the child to exit on error, but our intermediate child waits for us to send it an exit signal instead. Might need to move away from Command after all to solve this...
Source: niri-wm/niri