diff options
Diffstat (limited to 'src-qt5/desktop-utils/lumina-terminal/TtyProcess.h')
-rw-r--r-- | src-qt5/desktop-utils/lumina-terminal/TtyProcess.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src-qt5/desktop-utils/lumina-terminal/TtyProcess.h b/src-qt5/desktop-utils/lumina-terminal/TtyProcess.h index c2b483a9..42684112 100644 --- a/src-qt5/desktop-utils/lumina-terminal/TtyProcess.h +++ b/src-qt5/desktop-utils/lumina-terminal/TtyProcess.h @@ -32,6 +32,7 @@ #include <sys/types.h> #include <sys/wait.h> #include <signal.h> +#include <libutil.h> class TTYProcess : public QObject{ Q_OBJECT @@ -72,8 +73,9 @@ private: // Returns: // -1 for errors, child process PID (positive integer) if successful //==================================== - static pid_t LaunchProcess(int& fd, char *prog, char **child_args); - + pid_t LaunchProcess(int& fd, char *prog, char **child_args); + void setupTtyFd(pid_t fd); + private slots: void checkStatus(int); |