MySQL 8.4.2
Source Code Documentation
process_launcher.cc File Reference
#include "process_launcher.h"
#include <algorithm>
#include <array>
#include <cerrno>
#include <chrono>
#include <cstdio>
#include <iterator>
#include <stdexcept>
#include <string>
#include <system_error>
#include <thread>
#include <csignal>
#include <cstdlib>
#include <cstring>
#include <fcntl.h>
#include <sys/select.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#include "exit_status.h"
#include "mysql/harness/stdx/expected.h"
#include "scope_guard.h"

Namespaces

namespace  mysql_harness
 

Functions

static std::error_code mysql_harness::last_error_code () noexcept
 
static std::vector< const char * > mysql_harness::get_params (const std::string &command, const std::vector< std::string > &params_vec)
 
static auto mysql_harness::get_env_vars_vector (const std::vector< std::pair< std::string, std::string > > &env_vars)
 
static auto mysql_harness::get_env_vars (const std::vector< std::string > &env_vars)
 

Variables

char ** environ
 
constexpr auto mysql_harness::kTerminateWaitInterval = std::chrono::seconds(10)
 
constexpr auto mysql_harness::kWaitPidCheckInterval = std::chrono::milliseconds(10)
 maximum number of parameters that can be passed to the launched process More...
 

Variable Documentation

◆ environ

char** environ
extern