42 template <
typename... Arguments>
45 Arguments&&... arguments) {
48 shellQuote(to<std::string>(std::forward<Arguments>(arguments)))...);
49 return {
"/bin/sh",
"-c", command};
54 template <
typename... Arguments>
55 std::vector<std::string>
operator()(Arguments&&... arguments)
const {
57 format, std::forward<Arguments>(arguments)...);
63 inline namespace literals {
64 inline namespace shell_literals {
84 template <
typename... Arguments>
86 "Use `\"command {} {} ...\"_shellify(argument1, argument2 ...)` from " 87 "namespace `folly::literals::shell_literals`")]]
90 Arguments&&... arguments) {
std::vector< std::string > shellify(StringPiece format, Arguments &&...arguments)
std::string sformat(StringPiece fmt, Args &&...args)
—— Concurrent Priority Queue Implementation ——
std::vector< std::string > shellify(StringPiece format, Arguments &&...arguments)
std::string shellQuote(StringPiece argument)
Formatter< false, Args... > format(StringPiece fmt, Args &&...args)
Range< const char * > StringPiece