23#ifndef __CBUILD_SYSTEM_HPP__
24#define __CBUILD_SYSTEM_HPP__
36int system(std::string cmd);
44std::string
system_piped(std::string cmd,
unsigned int buffsize);
50std::vector<std::string>*
get_log();
Filebuffer for CBuild ecosystem.
bool is_system_enabled()
Check if CBuild::system enabled.
std::vector< std::string > * get_log()
Get the internall command log.
void enable_system()
Reanable system commands execution, used only in pkg-config.
void disable_system()
Disable system commands execution.
int system(std::string cmd)
Call stdlib system() and print cmd to shell.
std::string system_piped(std::string cmd, unsigned int buffsize)
Execute command and return it's output.