vertx / io.vertx.ext.shell.command / CommandProcess / interruptHandler

interruptHandler

abstract fun interruptHandler(handler: Handler<Void>): CommandProcess

Set an interrupt handler, this handler is called when the command is interrupted, for instance user press Ctrl-C.

Parameters

handler - the interrupt handler

Return
this command