Commit graph

2 commits

Author SHA1 Message Date
Cheong Lau
0093562e46 fix: avoid leaving zombie processes on unix
In `spawn_detached()`, the spawned process isn't waited on, which makes
zombie processes. This is fixed by calling `wait()` on the `Child`.

While this isn't done in the original function taken from the `open`
crate, it is done in `Alacritty`'s implementation, which is what the
author of `open` based the function on anyway.
2025-10-12 17:04:54 +10:00
Jeremy Soller
ef040c4277
Implement open in terminal 2024-03-04 10:28:16 -07:00