Christian,

I have never seen this behaviour from Felix. It sounds like a launcher 
application has installed a shutdown hook — how are you launching Felix?

Regards,
Neil

> On 23 Mar 2017, at 08:17, Christian Schneider <[email protected]> wrote:
> 
> While working on documenting the gogo shell better 
> (https://issues.apache.org/jira/browse/FELIX-5595) I used the current felix 
> framework distro and tested a lot of the commands.
> 
> When I tried the log:tail command using -f to follow changes I noticed a 
> problematic behaviour. The tail -f command relies on the user pressing Ctrl-C 
> to interrupt the tail and go back to the shell. In Apache Karaf this works 
> like expected.
> 
> In the felix framework distro pressing Ctrl-C always exists the framework. So 
> it is impossible to stop a tail -f once you started it.
> I opened an issue for this (https://issues.apache.org/jira/browse/FELIX-5597) 
> as I think it would be better to have Ctrl-C behave like in karaf.
> 
> I discussed this with Guillaume Nodet on irc and he generally agrees but he 
> asked me to bring this up on the list as the current behaviour might be 
> desired.
> 
> So what do you think? Should we try to change the behaviour or is it good and 
> expected that Ctrl-C ends the framework? In the latter case we would need to 
> have a different solution for ending a tail -f.
> 
> Christian
> 
> -- 
> Christian Schneider
> http://www.liquid-reality.de
> 
> Open Source Architect
> http://www.talend.com
> 

Reply via email to