private class SwingChuiDriver.VT100SwingEmulator extends VT100EmulatorChildProcess
emulator, worker
artificial, batch, terminal
Modifier | Constructor and Description |
---|---|
private |
VT100SwingEmulator() |
Modifier and Type | Method and Description |
---|---|
VT100Emulator |
createShellEmulator(java.lang.String[] cmdline)
Create a shell emulator and execute the given command.
|
void |
waitForExit(int pid,
boolean silent)
Block execution until the interactive child process has exited.
|
asynchCleanup, launch, pauseForUser
inBatchMode, isArtificialTerm, resume, suspend
public VT100Emulator createShellEmulator(java.lang.String[] cmdline)
createShellEmulator
in class VT100EmulatorChildProcess
cmdline
- The command.public void waitForExit(int pid, boolean silent) throws java.lang.InterruptedException
waitForExit
in interface InteractiveChildProcess
waitForExit
in class VT100EmulatorChildProcess
pid
- The operating system process ID of the child process on which to wait.silent
- false
for interactive mode (there the terminal is expected to be
shared by the child process and the user is allowed to directly interact with
the child process.java.lang.InterruptedException