Trying to run a non-existing file in Linux results in a zombie process
Open
- Dominant language
- C++
- Stars
- 145
- Forks
- 151
- PR merge metrics
- No merged PRs in 30d
Description
As can be seen in https://godbolt.org/z/4T7TMMTov, calling the process constructor on Linux (have not checked different launchers) asking it to execute a non-existing file results on a exception being thrown and the forked process never being reaped.
For comparison, https://godbolt.org/z/W94K31sGW uses an existing file and it works fine.
Those use Boost 1.86 since that's the latest available in Godbolt today, but I have reproduced the same issue on 1.87.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.