[fpc-pascal] TProcess doc page bugs

Michael Van Canneyt michael at freepascal.org
Sun Jul 12 23:12:40 CEST 2020



On Sun, 12 Jul 2020, Alexey Tor. via fpc-pascal wrote:

> https://www.freepascal.org/docs-html/current/fcl/process/tprocess.readinputstream.html
>
> a) it has 2 sections "Arguments" (mixed with "Func result")- pls make 
> nicer output:
>
> "Arguments (variant 1)", "Arguments (variant 2)", "Function result"
>
> b) first variant of func has "public" mark - it's crap here

No, it's not "crap". All methods have their visibility prepended.

If anything, it's simply missing from the second overload.

>
> c) 'Read available data from input stream" - it's for Input? for 
> Input/Output/Stderr? --> change to "Read available data from one of 
> process streams"

It's an input pipe stream, which is by definition read-only.

It automatically follows you can only read from Output and StdErr streams.

Michael.


More information about the fpc-pascal mailing list