aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-terminal/TtyProcess.h
diff options
context:
space:
mode:
authorJT Pennington <jt@obs-sec.com>2016-12-22 12:54:27 -0500
committerGitHub <noreply@github.com>2016-12-22 12:54:27 -0500
commite78fefc9e727a93e33b48e2c5ee1b1a99f480242 (patch)
tree33e6926989ea7c517426feebb89c366200da0fe0 /src-qt5/desktop-utils/lumina-terminal/TtyProcess.h
parentfix pages.pri (diff)
parentFix an issue with ZFS snapshot finding where the directory path of interest n... (diff)
downloadlumina-e78fefc9e727a93e33b48e2c5ee1b1a99f480242.tar.gz
lumina-e78fefc9e727a93e33b48e2c5ee1b1a99f480242.tar.bz2
lumina-e78fefc9e727a93e33b48e2c5ee1b1a99f480242.zip
Merge branch 'master' into master
Diffstat (limited to 'src-qt5/desktop-utils/lumina-terminal/TtyProcess.h')
-rw-r--r--src-qt5/desktop-utils/lumina-terminal/TtyProcess.h6
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);
bgstack15