why TStrings cannot be directly filled with TProcess.output

This commit is contained in:
Basile Burg 2015-06-18 11:05:22 +02:00
parent 891c746325
commit ec22f7b979
1 changed files with 2 additions and 0 deletions

View File

@ -717,6 +717,8 @@ begin
if not (poUsePipes in aProcess.Options) then
exit;
//
// note: aList.LoadFromStream() does not work, lines can be split, which breaks message parsing (e.g filename detector).
//
sum := 0;
str := TMemoryStream.Create;
try