mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 01:29:29 +02:00
* Fixed RunCommandIndir with poStderrToOutput
git-svn-id: trunk@39620 -
This commit is contained in:
parent
cfab40fd74
commit
098464d260
@ -573,7 +573,8 @@ begin
|
||||
// Get left output after end of execution
|
||||
ReadInputStream(output,BytesRead,OutputLength,OutputString,250);
|
||||
setlength(outputstring,BytesRead);
|
||||
ReadInputStream(StdErr,StdErrBytesRead,StdErrLength,StdErrString,250);
|
||||
if assigned(stderr) then
|
||||
ReadInputStream(StdErr,StdErrBytesRead,StdErrLength,StdErrString,250);
|
||||
setlength(stderrstring,StderrBytesRead);
|
||||
anexitstatus:=exitstatus;
|
||||
result:=0; // we came to here, document that.
|
||||
|
Loading…
Reference in New Issue
Block a user