///returns the exit code of the process (if in stopped state)
int exitCode() const { return m_exit_code; }
+ bool kill(const Signal signal);
- protected:
+ /// returns the pid of the child process
+ pid_t pid() { return m_pid; }
- bool kill(const Signal signal);
+ protected:
void setChildState(pid_t pid, int status);
m_signal_read.connect( boost::bind(&TestProcess::slotReceivedData, this) );
} // eo Testprocess(const std::string&, const std::vector<std::string>&)
-
-
- pid_t pid() { return m_pid; }
-
- bool kill( Signal signal) { return ProcessImplementation::kill(signal); }
-
protected:
void slotReceivedData()