///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);