[fpc-devel] tprocess chopping off characters

Darius Blaszyk dhkblaszyk at zeelandnet.nl
Sun Jan 2 01:23:14 CET 2011

On Jan 2, 2011, at 1:19 AM, Marco van de Voort wrote:

> Hi,
> I've been making a small util that loads revisions to merge from a branch
> (in my cases fixes_2_4), gets the logs, and sort the revisions into sets of
> a common topic (to filter out objc and other major stuff that is not mergable)
> One of the problems is that occasionally, the output of a program doesn't
> seem to be fully captured by tprocess. Like 1 in ten log messages that I
> fetch misses the last couple of characters.
> Does sb recognize this behaviour?

Yes I do. I added command line reading through TProcess in fpmkunit and now a compiled fpmake will show "mangled" output. However this is not always. I tried debugging, but no success so far.


More information about the fpc-devel mailing list