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

foregroundHandler

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

Set a foreground handler, this handler is called when the command is running and put to foreground.

Parameters

handler - the foreground handler

Return
this command