karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lijun Liao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-4838) InterruptedException of karaf shell will not be forwarded to the commands executed via source
Date Wed, 30 Nov 2016 09:44:58 GMT

     [ https://issues.apache.org/jira/browse/KARAF-4838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lijun Liao updated KARAF-4838:
------------------------------
    Description: 
In karaf 4.0.7, the InterruptedException (triggered by CTRL + C) is forwarded by the karaf
shell to the commands executed via source. 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.

Steps to reproduce the problem:

1. Create a file demo.script that contains the line
   "sleep 10"
2. In karaf shell, execute the commands via
  "source demo.scipt"
3. In karaf shell, enter CTRL + C

Even w




  was:
In karaf 4.0.7, the InterruptedException (triggered by CTRL + C) is forwarded by the karaf
shell to the commands . 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.






> InterruptedException of karaf shell will not be forwarded to the commands executed via
source
> ---------------------------------------------------------------------------------------------
>
>                 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 commands executed via source. 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.
> Steps to reproduce the problem:
> 1. Create a file demo.script that contains the line
>    "sleep 10"
> 2. In karaf shell, execute the commands via
>   "source demo.scipt"
> 3. In karaf shell, enter CTRL + C
> Even w



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

Mime
View raw message