ProcessLauncher::ProcessLauncher(Client* client) : m_client(client) , m_processIdentifier(0) { // Launch the process. m_isLaunching = true; processLauncherWorkQueue().scheduleWork(WorkItem::create(this, &ProcessLauncher::launchProcess)); }
ProcessLauncher::ProcessLauncher(Client* client, const LaunchOptions& launchOptions) : m_client(client) , m_launchOptions(launchOptions) , m_processIdentifier(0) { // Launch the process. m_isLaunching = true; processLauncherWorkQueue()->dispatch(bind(&ProcessLauncher::launchProcess, this)); }