[fpc-devel]TProcess.WaitOnExit on linux doesn't wait
Michael.VanCanneyt at Wisa.be
Michael.VanCanneyt at Wisa.be
Thu Sep 2 08:53:29 CEST 2004
On Wed, 1 Sep 2004, Vincent Snijders wrote:
> Vincent Snijders wrote:
>
> > Hi,
> >
> > The TProcess.WaitOnExit function doesn't wait, but returns immediately.
> > I think the problem is in this line:
> > Result:=fpWaitPid(Handle, at FExitCode,WNOHANG);
> >
> > In the old version 0 was passed instead of WNOHANG.
> Attached patch fixes this problem.
Applied, thanks.
Michael.
More information about the fpc-devel
mailing list