subprocess
0.4.0
Modern subprocess library for c++
src
cpp
subprocess
shell_utils.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
5
6
namespace
subprocess
{
8
std::string
getenv
(
const
std::string& var);
17
std::string
find_program
(
const
std::string& name);
26
void
find_program_clear_cache
();
28
std::string
escape_shell_arg
(std::string arg);
29
31
std::string
getcwd
();
33
void
setcwd
(
const
std::string& path);
34
43
std::string
abspath
(std::string dir, std::string relativeTo=
""
);
44
}
subprocess::getcwd
std::string getcwd()
subprocess::find_program
std::string find_program(const std::string &name)
subprocess::find_program_clear_cache
void find_program_clear_cache()
subprocess::getenv
std::string getenv(const std::string &var)
subprocess::escape_shell_arg
std::string escape_shell_arg(std::string arg)
subprocess
Definition:
basic_types.hpp:19
subprocess::abspath
std::string abspath(std::string dir, std::string relativeTo="")
subprocess::setcwd
void setcwd(const std::string &path)
Generated by
1.8.17