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

Alexey Kuznetsov edited comment on IGNITE-12192 at 9/27/19 3:08 PM:
--------------------------------------------------------------------

[~sdarlington] Not sure that we should fix this.
According to this: 
https://superuser.com/questions/169051/whats-the-difference-between-c-and-d-for-unix-mac-os-x-terminal
 Ctrl+C - means “interrupt”, i.e., stop what you're doing.
 Ctrl+D - means end of file.
So, why we need to support Ctrl+D?
VisorCmd is not a linux Utility - it is a 'sh' script that starts a program in 
JVM.
So it looks for me that bash and|or JVM do not support "Ctrl+D".


was (Author: kuaw26):
[~sdarlington] Not sure that we should fix this.
According to this: 
https://superuser.com/questions/169051/whats-the-difference-between-c-and-d-for-unix-mac-os-x-terminal
 Ctrl+C - means “interrupt”, i.e., stop what you're doing.
 Ctrl+D - means end of file.
So, why we need to support Ctrl+D?
VisorCmd is not a linux Utility - it is a 'sh' script that starts a program in 
JVM.

> visorcmd hangs if you ^D to quit
> --------------------------------
>
>                 Key: IGNITE-12192
>                 URL: https://issues.apache.org/jira/browse/IGNITE-12192
>             Project: Ignite
>          Issue Type: Bug
>          Components: visor
>    Affects Versions: 2.7.5
>            Reporter: Stephen Darlington
>            Assignee: Stephen Darlington
>            Priority: Major
>             Fix For: 2.8
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> You can exit most Unix utilities by pressing ^D. However, if you do that in 
> ignitevisorcmd when you're connected to a cluster, the process hangs. You 
> have to press ^C to quit. (It does work as expected if you close the 
> connection first.)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to