You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2016/11/25 08:21:58 UTC

[jira] [Commented] (KARAF-4838) InterruptedException of karaf shell will not be forwarded to the command

    [ https://issues.apache.org/jira/browse/KARAF-4838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15695239#comment-15695239 ] 

Guillaume Nodet commented on KARAF-4838:
----------------------------------------

Not sure how you experimented that: run the {{sleep 10}} command and hit {{Ctrl+C}}, you should see:
{code}
karaf@root()> sleep 10
sleep: sleep interrupted
karaf@root()>     
{code}


> InterruptedException of karaf shell will not be forwarded to the command
> ------------------------------------------------------------------------
>
>                 Key: KARAF-4838
>                 URL: https://issues.apache.org/jira/browse/KARAF-4838
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 4.1.0
>            Reporter: Lijun Liao
>             Fix For: 4.1.0
>
>
> In karaf 4.0.7, the InterruptedException (triggered by CTRL + C) is forwarded by the karaf shell to the command. This forwarding is useful since the application can then decide whether it should cancel the action. However this forwarding has been deactivated in karaf 4.1.0.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)