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

Pavel Yaskevich commented on CASSANDRA-1875:
--------------------------------------------

No, this won't broke when piping (I'm doing that all the time) or reading from 
file. I have tried to use --file option and piping file before submitting this 
patch :)

> 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