The command process provides interaction with the process of the command provided by Vert.x Shell.
package |
Default |
---|
__construct()
args() : array
array
the actual string arguments of the command
argsTokens() : array
array
the unparsed arguments tokens
backgroundHandler( $arg0) : $this
callable
$this
this 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
$this
a reference to this, so the API can be used fluently
foregroundHandler( $arg0) : $this
callable
$this
this command
height() : integer
integer
the current height, i.e the number of columns or {@literal -1} if unknown
interruptHandler( $arg0) : $this
callable
$this
this command
isForeground() : boolean
boolean
true if the command is running in foreground
resizehandler( $arg0) : $this
callable
$this
resumeHandler( $arg0) : $this
callable
$this
this command
session() : \io\vertx\jphp\ext\shell\session\Session
stdinHandler( $arg0) : $this
callable
$this
suspendHandler( $arg0) : $this
callable
$this
this command
type() : string
string
the 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
integer
the current width, i.e the number of rows or {@literal -1} if unknown
write( $arg0) : $this
string
$this
a reference to this, so the API can be used fluently