[fpc-devel]TProcess.WaitOnExit on linux doesn't wait

Vincent Snijders vsnijders at quicknet.nl
Mon Aug 30 09:57:20 CEST 2004


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.

I can't test this on linux now.

Vincent.





More information about the fpc-devel mailing list