| Modifier and Type | Field and Description | 
|---|---|
static io.vertx.lang.rx.TypeArg<CommandProcess> | 
__TYPE_ARG  | 
| Constructor and Description | 
|---|
CommandProcess(CommandProcess delegate)  | 
CommandProcess(Object delegate)  | 
| Modifier and Type | Method and Description | 
|---|---|
List<String> | 
args()  | 
List<CliToken> | 
argsTokens()  | 
CommandProcess | 
backgroundHandler(Handler<Void> handler)
Set a background handler, this handler is called when the command is running and put to background. 
 | 
CommandLine | 
commandLine()  | 
void | 
end()
End the process with the exit status 
 | 
void | 
end(int status)
End the process. 
 | 
CommandProcess | 
endHandler(Handler<Void> handler)
Set an end handler, this handler is called when the command is ended, for instance the command is running
 and the shell closes. 
 | 
boolean | 
equals(Object o)  | 
CommandProcess | 
foregroundHandler(Handler<Void> handler)
Set a foreground handler, this handler is called when the command is running and put to foreground. 
 | 
CommandProcess | 
getDelegate()  | 
int | 
hashCode()  | 
CommandProcess | 
interruptHandler(Handler<Void> handler)
Set an interrupt handler, this handler is called when the command is interrupted, for instance user
 press  
Ctrl-C. | 
boolean | 
isForeground()  | 
static CommandProcess | 
newInstance(CommandProcess arg)  | 
CommandProcess | 
resizehandler(Handler<Void> handler)
Set a resize handler, the handler is called when the tty size changes. 
 | 
CommandProcess | 
resumeHandler(Handler<Void> handler)
Set a resume handler, this handler is called when the command is resumed, for instance user
 types  
bg or fg to resume the command. | 
Session | 
session()  | 
CommandProcess | 
stdinHandler(Handler<String> handler)
Set a stream handler on the standard input to read the data. 
 | 
CommandProcess | 
suspendHandler(Handler<Void> handler)
Set a suspend handler, this handler is called when the command is suspended, for instance user
 press  
Ctrl-Z. | 
String | 
toString()  | 
Vertx | 
vertx()  | 
CommandProcess | 
write(String data)
Write some text to the standard output. 
 | 
height, newInstance, type, widthpublic static final io.vertx.lang.rx.TypeArg<CommandProcess> __TYPE_ARG
public CommandProcess(CommandProcess delegate)
public CommandProcess(Object delegate)
public CommandProcess getDelegate()
getDelegate in class Ttypublic Vertx vertx()
public CommandLine commandLine()
public Session session()
public boolean isForeground()
public CommandProcess stdinHandler(Handler<String> handler)
TtystdinHandler in class Ttyhandler - the standard inputpublic CommandProcess interruptHandler(Handler<Void> handler)
Ctrl-C.handler - the interrupt handlerpublic CommandProcess suspendHandler(Handler<Void> handler)
Ctrl-Z.handler - the interrupt handlerpublic CommandProcess resumeHandler(Handler<Void> handler)
bg or fg to resume the command.handler - the interrupt handlerpublic CommandProcess endHandler(Handler<Void> handler)
handler - the end handlerpublic CommandProcess write(String data)
public CommandProcess backgroundHandler(Handler<Void> handler)
handler - the background handlerpublic CommandProcess foregroundHandler(Handler<Void> handler)
handler - the foreground handlerpublic CommandProcess resizehandler(Handler<Void> handler)
Ttyresizehandler in class Ttyhandler - the resize handlerpublic void end()
public void end(int status)
status - the exit status.public static CommandProcess newInstance(CommandProcess arg)
Copyright © 2022 Eclipse. All rights reserved.