[lazarus] TProcess question

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Thu Mar 8 18:15:56 EST 2001




On Fri, 9 Mar 2001, Marc Weustink wrote:

> Hi,
> Maybe am I missing something, but when looking at the TProcess.Execute code
> (linux):
>
>     if poStdErrToOutPut in FCreateOptions
>     then
>       CreatePipeStreams (FParentErrorStream,FChildErrorStream)
>     else begin
>       FChildErrorStream:=FChildOutPutStream;
>       FParentErrorStream:=FParentInputStream;
>     end;
>
>  From process.txt:
>
> poStderrToOutPut
>    If This option is included, then the error desciptor is redirected to
>    the standard output director, i.e. all output goes to the standard
>    output.
>
> My question: Shouldn't the if statement be the other way around ?


Ahem...

You are of course right. My apologies, I will fix it.

Michael.






More information about the Lazarus mailing list