mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00

* propagate SIGHUP to child processes * do not wait for active job if shell is exiting * move on_postcommand event out of _append_history and document behavior * add changelog * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update built_ins.py * Update hup-propagation.rst * use sys.exc_info instead of sys.exception for version compatibility * update test_default_append_history to work with new history/postcommand interaction * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add tests for SIGHUP forwarding and postcommand blocking * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix linting errors in news entry * use tmpdir fixture in sighup tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update test_integrations.py --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Andy Kipp <anki-code@users.noreply.github.com>
25 lines
463 B
ReStructuredText
25 lines
463 B
ReStructuredText
**Added:**
|
|
|
|
* SIGHUP will now be forwarded to child processes when received by the main xonsh process.
|
|
This matches the behavior of other shells e.g. bash.
|
|
* Documented the fact that the ``on_postcommand`` event only fires in interactive mode.
|
|
|
|
**Changed:**
|
|
|
|
* <news item>
|
|
|
|
**Deprecated:**
|
|
|
|
* <news item>
|
|
|
|
**Removed:**
|
|
|
|
* <news item>
|
|
|
|
**Fixed:**
|
|
|
|
* Running a subcommand in an event handler will no longer block xonsh from exiting.
|
|
|
|
**Security:**
|
|
|
|
* <news item>
|