CommandProcess |
CommandProcess.backgroundHandler(Handler<Void> handler) |
Set a background handler, this handler is called when the command is running and put to background.
|
CommandProcess |
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.
|
CommandProcess |
CommandProcess.foregroundHandler(Handler<Void> handler) |
Set a foreground handler, this handler is called when the command is running and put to foreground.
|
CommandProcess |
CommandProcess.interruptHandler(Handler<Void> handler) |
Set an interrupt handler, this handler is called when the command is interrupted, for instance user
press Ctrl-C .
|
static CommandProcess |
CommandProcess.newInstance(CommandProcess arg) |
|
CommandProcess |
CommandProcess.resizehandler(Handler<Void> handler) |
|
CommandProcess |
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.
|
CommandProcess |
CommandProcess.stdinHandler(Handler<String> handler) |
|
CommandProcess |
CommandProcess.suspendHandler(Handler<Void> handler) |
Set a suspend handler, this handler is called when the command is suspended, for instance user
press Ctrl-Z .
|
CommandProcess |
CommandProcess.write(String data) |
Write some text to the standard output.
|