diff --git a/subprocess.hpp b/subprocess.hpp index aaed3c7..7242d0b 100755 --- a/subprocess.hpp +++ b/subprocess.hpp @@ -2050,6 +2050,12 @@ int call(const std::string& arg, Args&&... args) return (detail::call_impl(arg, std::forward(args)...)); } +template +int call(std::vector plist, Args &&... args) +{ + return (detail::call_impl(plist, std::forward(args)...)); +} + /*! * Run the command with arguments and wait for it to complete.