8#include <unordered_map>
11#include <userver/engine/subprocess/child_process.hpp>
12#include <userver/engine/subprocess/environment_variables.hpp>
13#include <userver/engine/task/task_processor_fwd.hpp>
15USERVER_NAMESPACE_BEGIN
30 explicit ProcessStarter(TaskProcessor& task_processor);
34 const std::string& command,
const std::vector<std::string>& args,
37 const std::optional<std::string>& stdout_file =
std::
nullopt,
38 const std::optional<std::string>& stderr_file =
std::
nullopt);
43 const std::string& command,
const std::vector<std::string>& args,
46 const std::optional<std::string>& stdout_file =
std::
nullopt,
47 const std::optional<std::string>& stderr_file =
std::
nullopt);
51 const std::string& command,
const std::vector<std::string>& args,
53 const std::optional<std::string>& stdout_file =
std::
nullopt,
54 const std::optional<std::string>& stderr_file =
std::
nullopt);
57 ev::ThreadControl& thread_control_;