Added 'call' overload

This commit is contained in:
Santiago 2023-08-13 12:54:03 +02:00
parent af23f33880
commit c44aa7836b

View File

@ -2050,6 +2050,12 @@ int call(const std::string& arg, Args&&... args)
return (detail::call_impl(arg, std::forward<Args>(args)...));
}
template <typename... Args>
int call(std::vector<std::string> plist, Args &&... args)
{
return (detail::call_impl(plist, std::forward<Args>(args)...));
}
/*!
* Run the command with arguments and wait for it to complete.