diff --git a/cpp-subprocess/subprocess.hpp b/cpp-subprocess/subprocess.hpp index 63fd762..7267fff 100644 --- a/cpp-subprocess/subprocess.hpp +++ b/cpp-subprocess/subprocess.hpp @@ -1380,8 +1380,7 @@ class Popen friend class detail::Child; template - Popen(const std::string& cmd_args, Args&& ...args): - args_(cmd_args) + Popen(const std::string& cmd_args, Args&& ...args) { vargs_ = util::split(cmd_args); init_args(std::forward(args)...); @@ -1510,8 +1509,6 @@ class Popen env_map_t env_; preexec_func preexec_fn_; - // Command in string format - std::string args_; // Command provided as sequence std::vector vargs_; std::vector cargv_;