yash-rs
yash-rs copied to clipboard
Prevent exit when a job is suspended
trafficstars
Many existing shells refuses to exit when they have a suspended job. It would be helpful for yash-rs to support this behavior.
This behavior is extension to POSIX.
Todos:
- [ ] Prevent exit on end of input
- [ ] Prevent exit in the exit built-in
- [ ] Add the
-foption to the exit built-in
Questions:
- [ ] Should this happen only if
interactiveis set?- This should never happen in subshells.
- [ ] Should this happen only if
monitoris set?