Dev Essential
Loading...
Searching...
No Matches
process.h File Reference
#include <a_util/base/types.h>
#include <a_util/filesystem/path.h>
#include <string>
Include dependency graph for process.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  a_util
 Serves as the root component, with common functionality documented in core functionality.
 
namespace  a_util::process
 Serves as component for interaction with operating system processes.
 

Functions

uint64_t a_util::process::getCurrentProcessId ()
 
uint32_t a_util::process::execute (const a_util::filesystem::Path &executable_file, const std::string &arguments, const a_util::filesystem::Path &working_dir, bool wait_for_exit)
 
uint32_t a_util::process::execute (const a_util::filesystem::Path &executable_file, const std::string &arguments, const a_util::filesystem::Path &working_dir, std::string &std_out)
 
uint32_t a_util::process::execute (const a_util::filesystem::Path &executable_file, const std::string &arguments, const a_util::filesystem::Path &working_dir, std::string &std_out, std::string &std_err)
 
std::string a_util::process::getEnvVar (const std::string &environment_variable_name)
 
std::string a_util::process::getEnvVar (const std::string &environment_variable_name, const std::string &default_value)
 
void a_util::process::setEnvVar (const std::string &environment_variable_name, const std::string &environment_variable_value)
 

Detailed Description

Public API for process functions