fix
Some checks reported errors
BlockStorage/repertory/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
BlockStorage/repertory/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
@@ -739,9 +739,9 @@ auto handlers::launch_process(provider_type prov, std::string_view name,
|
|||||||
PROCESS_INFORMATION proc_info{};
|
PROCESS_INFORMATION proc_info{};
|
||||||
auto result = ::CreateProcessA(
|
auto result = ::CreateProcessA(
|
||||||
nullptr, &cmdline[0U], nullptr, nullptr, FALSE,
|
nullptr, &cmdline[0U], nullptr, nullptr, FALSE,
|
||||||
CREATE_NEW_PROCESS_GROUP | DETACHED_PROCESS, nullptr,
|
CREATE_NEW_CONSOLE | CREATE_NEW_PROCESS_GROUP | DETACHED_PROCESS,
|
||||||
utils::path::get_parent_path(repertory_binary_).c_str(), &start_info,
|
nullptr, utils::path::get_parent_path(repertory_binary_).c_str(),
|
||||||
&proc_info);
|
&start_info, &proc_info);
|
||||||
|
|
||||||
if (result) {
|
if (result) {
|
||||||
::CloseHandle(proc_info.hProcess);
|
::CloseHandle(proc_info.hProcess);
|
||||||
|
Reference in New Issue
Block a user