verdict-project/verdict

Supporting Ctrl+C on pyverdict

Closed this issue · 1 comments

This keyboard interrupt signal not only terminates the Python side but also sends an abort signal to Java's query processing.

This has been added in this pull request: #301

In short, this is achieved by simply changing the py4j's configuration options. That is, create_new_process_group is set to True for launch_gateway method (https://www.py4j.org/py4j_java_gateway.html).