(WIP) Process stream reimplementation.

This commit is contained in:
2025-11-22 12:49:15 +01:00
parent 1c7f043e6f
commit eda08e509e
2 changed files with 17 additions and 6 deletions

View File

@@ -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