vertx / io.vertx.reactivex.ext.shell.system / Process

Process

open class Process

A process managed by the shell. NOTE: This class has been automatically generated from the io.vertx.ext.shell.system.Process non RX-ified interface using Vert.x codegen.

Constructors

<init>

Process(delegate: Process)

Properties

__TYPE_ARG

static val __TYPE_ARG: TypeArg<Process>

Functions

equals

open fun equals(other: Any?): Boolean

exitCode

open fun exitCode(): Int

getDelegate

open fun getDelegate(): Process

getSession

open fun getSession(): Session

getTty

open fun getTty(): Tty

hashCode

open fun hashCode(): Int

interrupt

open fun interrupt(): Boolean
open fun interrupt(completionHandler: Handler<Void>): Boolean

Attempt to interrupt the process.

newInstance

open static fun newInstance(arg: Process): Process

resume

open fun resume(): Unit
open fun resume(foreground: Boolean): Unit
open fun resume(completionHandler: Handler<Void>): Unit
open fun resume(foreground: Boolean, completionHandler: Handler<Void>): Unit

Suspend the process.

run

open fun run(): Unit
open fun run(foregraound: Boolean): Unit

Run the process.

setSession

open fun setSession(session: Session): Process

Set the process session

setTty

open fun setTty(tty: Tty): Process

Set the process tty.

status

open fun status(): ExecStatus

suspend

open fun suspend(): Unit
open fun suspend(completionHandler: Handler<Void>): Unit

Resume the process.

terminate

open fun terminate(): Unit
open fun terminate(completionHandler: Handler<Void>): Unit

Terminate the process.

terminatedHandler

open fun terminatedHandler(handler: Handler<Int>): Process

Set an handler for being notified when the process terminates.

toBackground

open fun toBackground(): Unit
open fun toBackground(completionHandler: Handler<Void>): Unit

Set the process in background.

toForeground

open fun toForeground(): Unit
open fun toForeground(completionHandler: Handler<Void>): Unit

Set the process in foreground.

toString

open fun toString(): String