subprocess 0.5.0
Modern subprocess library for c++
Loading...
Searching...
No Matches
shell_utils.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
5
6namespace subprocess {
8 std::string getenv(const std::string& var);
17 std::string find_program(const std::string& name);
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}
Definition basic_types.hpp:22
std::string find_program(const std::string &name)
void setcwd(const std::string &path)
std::string abspath(std::string dir, std::string relativeTo="")
std::string getenv(const std::string &var)
void find_program_clear_cache()
std::string getcwd()
std::string escape_shell_arg(std::string arg)