magicant / yash

Yet another shell
http://magicant.github.io/yash/
GNU General Public License v2.0
346 stars 30 forks source link

exec: Don't exit on exec failure if interactive #87

Closed magicant closed 2 weeks ago

magicant commented 2 weeks ago

This commit implements the new POSIX.1-2024 requirement.

Previously, failure in the exec built-in on an interactive shell caused the shell to exit only if the POSIXly-correct mode was off. The mode no longer affects the shell behavior.


This PR is the yash counterpart to https://github.com/magicant/yash-rs/pull/424.