by hellofunk · 10y ago · 0 comments
auto ret = sp::call({"ls", "-l"});
It's not a lambda or a typical block. I don't think I've seen that before.
template<typename... Args> int call(std::initializer_list<const char*> plist, Args&&... args)
Where "ls", and "-l" form the contents of the initializer list.