mirror of
https://github.com/reactos/CMake.git
synced 2025-02-12 23:19:13 +00:00
cmProcessTools: fix minor issue introduced by 595feb3
This commit is contained in:
parent
85a7eaba5e
commit
7eaa964e9b
@ -38,7 +38,7 @@ void cmProcessTools::RunProcess(struct cmsysProcess_s* cp, OutputParser* out,
|
||||
if (err) {
|
||||
processOutput.DecodeText(std::string(), strdata, 2);
|
||||
if (!strdata.empty()) {
|
||||
out->Process(strdata.c_str(), int(strdata.size()));
|
||||
err->Process(strdata.c_str(), int(strdata.size()));
|
||||
}
|
||||
}
|
||||
cmsysProcess_WaitForExit(cp, nullptr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user