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