[lazarus] TProcess question

Marc Weustink marc at lazarus.dommelstein.net
Thu Mar 8 18:03:02 EST 2001


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 ?

Marc






More information about the Lazarus mailing list