karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Foster (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-2003) Interrupt a running command in shell
Date Sun, 05 May 2013 20:00:16 GMT

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

Alan Foster commented on KARAF-2003:

It would be cool if this also fixed the exception given when pressing ctrl+c in conjunction
with the 'more' command

Currently it gives the following exception

Error executing command: java.lang.InterruptedException

Log file stacktrace

013-05-05 20:51:54,740 | ERROR | l Console Thread | Console
     | araf.shell.console.jline.Console  199 | 14 - org.apache.karaf.shell.cons
le - 2.3.2.SNAPSHOT | Exception caught while executing command
       at java.lang.Object.wait(Native Method)[:1.6.0_27]
       at java.lang.Thread.join(Thread.java:1186)[:1.6.0_27]
       at java.lang.Thread.join(Thread.java:1239)[:1.6.0_27]
       at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:200)[14:or
       at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[14:or
       at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessi
       at org.apache.karaf.shell.console.jline.Console.run(Console.java:173)[14
       at java.lang.Thread.run(Thread.java:662)[:1.6.0_27]

> Interrupt a running command in shell
> ------------------------------------
>                 Key: KARAF-2003
>                 URL: https://issues.apache.org/jira/browse/KARAF-2003
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-shell
>            Reporter: Achim Nierbeck
>            Assignee: Achim Nierbeck
>            Priority: Minor
>             Fix For: 3.0.0, 3.1.0
> Right now it's not possible to interrupt a "long" running command. For example by using
ctrl-c to stop it like in a unix shell. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message