Reset process/job internal state when starting subshell
Open
bug
- Dominant language
- C
- Stars
- 531
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
We don't want to track our parent's processes.
Probably need to do this in `subshell_fork`. This command:
```sh
(wait)
```
[should always return immediately](https://pubs.opengroup.org/onlinepubs/9699919799/utilities/wait.html).
Contributor guide
Assessment
This issue has not been assessed yet.