NeKernel dev
Loading...
Searching...
No Matches
pfd::internal::executor Class Reference

#include <Dialogs.h>

Public Member Functions

std::string result (int *exit_code=nullptr)
bool kill ()
void start_process (std::vector< std::string > const &command)
 ~executor ()

Protected Member Functions

bool ready (int timeout=default_wait_timeout)
void stop ()

Private Attributes

bool m_running = false
std::string m_stdout
int m_exit_code = -1
pid_t m_pid = 0
int m_fd = -1

Friends

class dialog

Constructor & Destructor Documentation

◆ ~executor()

pfd::internal::executor::~executor ( )
inline

Member Function Documentation

◆ kill()

bool pfd::internal::executor::kill ( )
inline

◆ ready()

bool pfd::internal::executor::ready ( int timeout = default_wait_timeout)
inlineprotected

◆ result()

std::string pfd::internal::executor::result ( int * exit_code = nullptr)
inline

◆ start_process()

void pfd::internal::executor::start_process ( std::vector< std::string > const & command)
inline

◆ stop()

void pfd::internal::executor::stop ( )
inlineprotected

◆ dialog

friend class dialog
friend

Member Data Documentation

◆ m_exit_code

int pfd::internal::executor::m_exit_code = -1
private

◆ m_fd

int pfd::internal::executor::m_fd = -1
private

◆ m_pid

pid_t pfd::internal::executor::m_pid = 0
private

◆ m_running

bool pfd::internal::executor::m_running = false
private

◆ m_stdout

std::string pfd::internal::executor::m_stdout
private

The documentation for this class was generated from the following file: