mirror of
https://github.com/boostorg/process.git
synced 2026-02-01 08:42:15 +00:00
shell fix for windows
This commit is contained in:
@@ -85,7 +85,7 @@ struct exe_cmd_init : handler_base_ext
|
||||
}
|
||||
static exe_cmd_init exe_args_shell(std::string&& exe, std::vector<std::string> && args)
|
||||
{
|
||||
std::vector<std::string> args_ = {"/c"};
|
||||
std::vector<std::string> args_ = {"/c", std::move(exe)};
|
||||
args_.insert(args_.end(), std::make_move_iterator(args.begin()), std::make_move_iterator(args.end()));
|
||||
std::string sh = shell().string();
|
||||
return exe_cmd_init(std::move(sh), std::move(args_));
|
||||
|
||||
Reference in New Issue
Block a user