You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "stephen mallette (JIRA)" <ji...@apache.org> on 2019/03/20 17:19:00 UTC

[jira] [Created] (TINKERPOP-2181) Allow ctrl+c to break out of a long running process in Gremlin Console

stephen mallette created TINKERPOP-2181:
-------------------------------------------

             Summary: Allow ctrl+c to break out of a long running process in Gremlin Console
                 Key: TINKERPOP-2181
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2181
             Project: TinkerPop
          Issue Type: Improvement
          Components: console
    Affects Versions: 3.3.5
            Reporter: stephen mallette
            Assignee: stephen mallette


We've long wanted this one - you screw up and hit enter on {{g.V()}} on a billion vertex graph. Only thing you can do to stop it is kill the console. Intercept {{ctril+c}} and translate that to an interrupt of the main thread. If the main thread is doing something that respects a call to {{Thread.interrupt()}} then the process will stop and return control to the user.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)