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, waitFor
public PersistentPTY() throws IOException
IOException
public PersistentPTY(PTY.Mode mode) throws IOException
IOException
public org.eclipse.cdt.utils.pty.PTYInputStream getInputStream()
getInputStream
in class PTY
public PTYOutputStream getOutputStream()
getOutputStream
in class PTY
public void closeStreams() throws IOException
IOException
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.