(WIP) Process stream reimplementation.
This commit is contained in:
@@ -168,12 +168,17 @@ std::string shellEscape(const std::string& arg) MIJIN_NOEXCEPT
|
||||
return oss.str();
|
||||
}
|
||||
|
||||
std::string makeShellCommand(const std::vector<std::string>& args) MIJIN_NOEXCEPT
|
||||
std::string makeShellCommand(std::span<std::string_view> args) MIJIN_NOEXCEPT
|
||||
{
|
||||
(void) args;
|
||||
MIJIN_ERROR("TBD");
|
||||
return {};
|
||||
#if 0
|
||||
using namespace mijin::pipe;
|
||||
return args
|
||||
| Map(&shellEscape)
|
||||
| Join(" ");
|
||||
#endif
|
||||
}
|
||||
} // namespace mijin
|
||||
#endif // MIJIN_TARGET_OS == MIJIN_OS_LINUX || MIJIN_TARGET_OS == MIJIN_OS_OSX
|
||||
|
||||
Reference in New Issue
Block a user