[fpc-devel]TProcess.WaitOnExit on linux doesn't wait
vsnijders at quicknet.nl
Wed Sep 1 23:36:43 CEST 2004
Vincent Snijders wrote:
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 398 bytes
Desc: not available
More information about the fpc-devel