mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-21 22:04:56 -06:00
Core: Fix in LocalProcess::Finish
git-svn-id: svn://ultimatepp.org/upp/trunk@11258 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
f9884e28ec
commit
ef27376f7c
1 changed files with 6 additions and 1 deletions
|
|
@ -612,7 +612,12 @@ int LocalProcess::Finish(String& out)
|
|||
out.Cat(Get());
|
||||
Sleep(1); // p.Wait would be much better here!
|
||||
}
|
||||
out.Cat(Get());
|
||||
for(;;) {
|
||||
String h = Get();
|
||||
if(h.IsVoid())
|
||||
break;
|
||||
out.Cat(h);
|
||||
}
|
||||
return GetExitCode();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue