frysk.sys
Class PseudoTerminal
java.lang.Object
frysk.sys.FileDescriptor
frysk.sys.PseudoTerminal
public class PseudoTerminal
- extends FileDescriptor
Open a pty
Methods inherited from class frysk.sys.FileDescriptor |
close, dup, getFd, getInputStream, getOutputStream, getSize, read, read, ready, ready, seekCurrent, seekEnd, seekSet, setSize, write, write |
PseudoTerminal
public PseudoTerminal(boolean controllingTerminal)
- Open a pseudo-terminal, a.k.a. pty, not wired to anything.
PseudoTerminal
public PseudoTerminal()
toString
public String toString()
- Overrides:
toString
in class FileDescriptor
getFile
public File getFile()
- Return the path of the pseudo-terminal's slave.
addChild
public ProcessIdentifier addChild(String[] args)
- Convenience method, adds a child process bound to this
pseudo-terminal.
addDaemon
public ProcessIdentifier addDaemon(String[] args)
- Convenience method, adds a daemon process bound to this
pseudo-terminal.