On Sun, 1 Apr 2007, Ingemar Ragnemalm wrote:
>
> Dear list,
>
> I have been struggling for quite a while (that is weeks) to get proper pipe
> communication with a sublaunched program, using TProcess or straight
> pipe/fork/exec calls. This is under Mac OSX, but the problem should be similar
>
Marco van de Voort schreef:
After a lot of googling and experimenting, I think I have managed to
make it work, but only in C code, and I want it to run in Pascal. The
key to make it work in C was to call setvbuf at the right time, to set
the buffering mode for stdin/stdout. The problem with FPC
> After a lot of googling and experimenting, I think I have managed to
> make it work, but only in C code, and I want it to run in Pascal. The
> key to make it work in C was to call setvbuf at the right time, to set
> the buffering mode for stdin/stdout. The problem with FPC is that I
> can't f