The command process provides interaction with the process of the command provided by Vert.x Shell.
| package |
Default |
|---|
__construct()
args() : array
arraythe actual string arguments of the command
argsTokens() : array
arraythe unparsed arguments tokens
backgroundHandler( $arg0) : $this
callable
$thisthis command
commandLine() : \io\vertx\jphp\core\cli\CommandLine
end( $arg0 = null) : void
end()
End the process.
param $status [integer] the exit status. end($status)
integer
endHandler( $arg0) : $this
callable
$thisa reference to this, so the API can be used fluently
foregroundHandler( $arg0) : $this
callable
$thisthis command
height() : integer
integerthe current height, i.e the number of columns or {@literal -1} if unknown
interruptHandler( $arg0) : $this
callable
$thisthis command
isForeground() : boolean
booleantrue if the command is running in foreground
resizehandler( $arg0) : $this
callable
$this
resumeHandler( $arg0) : $this
callable
$thisthis command
session() : \io\vertx\jphp\ext\shell\session\Session
stdinHandler( $arg0) : $this
callable
$this
suspendHandler( $arg0) : $this
callable
$thisthis command
type() : string
stringthe declared tty type, for instance {@literal vt100}, {@literal xterm-256}, etc... it can be null when the tty does not have declared its type.
vertx() : \io\vertx\jphp\core\Vertx
width() : integer
integerthe current width, i.e the number of rows or {@literal -1} if unknown
write( $arg0) : $this
string
$thisa reference to this, so the API can be used fluently