public class PersistentPTY extends PTY
closeStreams() must be called to properly
cleanup the streams once the PersistentPTY is known not be needed
anymore.PTY.MasterFD, PTY.Mode| Constructor and Description |
|---|
PersistentPTY() |
PersistentPTY(PTY.Mode mode) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeStreams()
This method must be called once the PersistentPTY is
no longer needed, so that its streams can be closed.
|
org.eclipse.cdt.utils.pty.PTYInputStream |
getInputStream() |
PTYOutputStream |
getOutputStream() |
exec_pty, getMasterFD, getSlaveName, isConsole, isSupported, isSupported, setTerminalSize, validateSlaveName, waitForpublic PersistentPTY()
throws java.io.IOException
java.io.IOExceptionpublic PersistentPTY(PTY.Mode mode) throws java.io.IOException
java.io.IOExceptionpublic org.eclipse.cdt.utils.pty.PTYInputStream getInputStream()
getInputStream in class PTYpublic PTYOutputStream getOutputStream()
getOutputStream in class PTYpublic void closeStreams()
throws java.io.IOException
java.io.IOExceptionCopyright (c) IBM Corp. and others 2004, 2019. All Rights Reserved.