public interface CommandProcess extends Tty
| Modifier and Type | Method and Description |
|---|---|
List<String> |
args() |
List<CliToken> |
argsTokens() |
CommandLine |
commandLine() |
void |
end()
End the process with the exit status 0
|
void |
end(int status)
End the process.
|
CommandProcess |
eventHandler(EventType eventType,
Handler<Void> handler)
Set an event handler to be notified by Shell events.
|
Session |
session() |
CommandProcess |
setStdin(Stream stdin)
Set a stream on the standard input to read the data.
|
Vertx |
vertx() |
CommandProcess |
write(String text) |
Vertx vertx()
CommandLine commandLine()
Session session()
CommandProcess setStdin(Stream stdin)
TtyCommandProcess eventHandler(EventType eventType, Handler<Void> handler)
TtyeventHandler in interface TtyeventType - the event typeCommandProcess write(String text)
void end()
void end(int status)
status - the exit status.Copyright © 2015. All rights reserved.