MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / build_win32_cmdline

Function build_win32_cmdline

src/python/windows_process_utils.hpp:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 inline std::wstring build_win32_cmdline(const std::filesystem::path& program,
51 const std::vector<std::string>& args) {
52 std::wstring cmdline = quote_windows_cmd_arg(program.wstring());
53 for (const auto& arg : args) {
54 cmdline.push_back(L' ');
55 cmdline += quote_windows_cmd_arg(lfs::core::utf8_to_wstring(arg));
56 }
57 return cmdline;
58 }
59#endif
60
61 inline std::string format_command_for_log(const std::filesystem::path& program,

Callers 2

startMethod · 0.85
execute_process_captureFunction · 0.85

Calls 3

quote_windows_cmd_argFunction · 0.85
utf8_to_wstringFunction · 0.50
push_backMethod · 0.45

Tested by

no test coverage detected