Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2020-07

TProcess doc page bugs

5 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt
to Alexey Tor.
Alexey Tor. wrote 8 lines
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.

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

Input is read-only?? it's write-only I guess.

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

Then we need "..... from Output/StdErr streams" text there. Cur text is misleading.

Alexey

Michael Van Canneyt
to Alexey Tor.
Alexey Tor. wrote
> It's an input pipe stream, which is by definition read-only. Input is read-only?? it's write-only I guess.

No, read-only.

It's input from the point of view of the *parent process*.

Michael.