[ 
https://issues.apache.org/jira/browse/CASSANDRA-1875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974291#action_12974291
 ] 

Jonathan Ellis commented on CASSANDRA-1875:
-------------------------------------------

Isn't this going to catch, say, EOF as well?

> backgrounding cli makes it crash
> --------------------------------
>
>                 Key: CASSANDRA-1875
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1875
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Jonathan Ellis
>            Assignee: Pavel Yaskevich
>            Priority: Trivial
>             Fix For: 0.7.1
>
>         Attachments: CASSANDRA-1875.patch
>
>
> {code}
> $ bin/cassandra-cli 
> Welcome to cassandra CLI.
> Type 'help;' or '?' for help. Type 'quit;' or 'exit;' to quit.
> [defa...@unknown] 
> [1]+  Stopped                 bin/cassandra-cli
> $ fg
> bin/cassandra-cli
> Exception in thread "main" java.io.IOException: Interrupted system call
>       at java.io.FileInputStream.read(Native Method)
>       at jline.Terminal.readCharacter(Terminal.java:99)
>       at jline.UnixTerminal.readVirtualKey(UnixTerminal.java:128)
>       at jline.ConsoleReader.readVirtualKey(ConsoleReader.java:1453)
>       at jline.ConsoleReader.readBinding(ConsoleReader.java:654)
>       at jline.ConsoleReader.readLine(ConsoleReader.java:494)
>       at jline.ConsoleReader.readLine(ConsoleReader.java:448)
>       at org.apache.cassandra.cli.CliMain.main(CliMain.java:328)
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to