Sign in Join

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

Mailing lists / fpc-devel / 2011-01

tprocess chopping off characters

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Marco van de Voort

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?

Marco

Reply by email

Darius Blaszyk
to Marco van de Voort
Marco van de Voort wrote 11 lines
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.

Darius

Reply by email