class KPtyProcess


Table of contents
Modules
kdecore Classes
All Classes
Module kdecore
Namespace global
Class KPtyProcess
Inherits KProcess

This class extends KProcess by support for PTYs (pseudo TTYs).

The PTY is opened as soon as the class is instantiated. Verify that it was opened successfully by checking that pty()->masterFd() is not -1.

The PTY is always made the process' controlling TTY. Utmp registration and connecting the stdio handles to the PTY are optional.

No attempt to integrate with QProcess' waitFor*() functions was made, for it is impossible. Note that execute() does not work with the PTY, too. Use the PTY device's waitFor*() functions or use it asynchronously.

Author Oswald Buddenhagen



enums

enum details

methods