| commit | b23e8bf667f29cc78df278c916b64d396caa65ee | [log] [tgz] |
|---|---|---|
| author | Guillaume Nodet <gnodet@gmail.com> | Wed Apr 30 00:09:47 2025 +0200 |
| committer | Guillaume Nodet <gnodet@gmail.com> | Wed Apr 30 09:30:29 2025 +0200 |
| tree | 820f1482076e4fa4f3e987c20e6613c2f966f994 | |
| parent | 69b73354f8fe8385d0b60dbc93ec7cd46ff370bc [diff] |
Fix interruption handling in nested shells This change modifies the Shell.sh method to properly handle interruption signals in nested shells by clearing and restoring the current pipe. When a user starts a shell session, then runs the 'sh' command to create a nested shell, and then runs a command like 'ttop' in that nested shell, pressing Ctrl+C now properly interrupts the command. This complements PR #411 which made the Pipe.setCurrentPipe method public to enable this fix. Together, these changes resolve the issue reported in jline/jline3#1143 where interruption exceptions were not working for child sessions. The fix follows the same pattern implemented in the Posix.runShell method, ensuring consistent behavior across different shell creation methods.
The Apache Felix project is a collection of semi-related OSGi sub-projects that build and release individually.
The flagship project is the Apache Felix Framework which implements the OSGi Core R7 specification. The /framework directory contains the source and build tree for the OSGi-compliant framework implementation.
Directly related projects:
/main* - provides an executable jar that launches the Felix framework./log*/resolverSeveral sub-projects cover various OSGi Compendium specifications such as:
/configadmin/configurator/converter/coordinator/deploymentadmin/deviceaccess/scr*/eventadmin/http/http/io/metatype/prefs/upnp/useradmin/wireadminSeveral projects provide extra features to an OSGi runtime.
/bundlerepository - Bundle repository service./connect - A service registry that enables OSGi style service registry programs without using an OSGi framework./dependencymanager - A versatile java API, allowing to declaratively register, acquire, and manage dynamic OSGi services./fileinstall* - A utility to automatically install bundles from a directory./gogo - A command line shell, runtime and set of base commands for interacting with and introspecting an OSGi framework./healthcheck/* - An extensible framework to monitor the status of the OSGi container at runtime. (contains systemready)/inventory - Provides some mechanisms to get the current state of the system and therefore provides an inventory of the system./ipojo - A service component runtime aiming to simplify OSGi application development./jaas - Bundle to simplify JAAS usage within OSGi environment./logback - A simple integration of the OSGi R7 Log (1.4) service to Logback backend./metrics/osgi - Collecting and publishing metrics related to OSGi applications/rootcause - Finding the root cause of problems with OSGi declarative services components./utils - Utility classes for OSGi (intended for embedding within other bundles.)/webconsole* - Web Based Management Console for OSGi Frameworks.The /tools directory contains various build tools.
/tools/maven-bundle-plugin - A maven plugin for building OSGi bundles./tools/osgicheck-maven-plugin - Maven plugin for checking several OSGi aspects of your project.