The docs at http://lazarus-ccr.sourceforge.net/docs/fcl/process/tprocess.exitstatus.html say:
The value of this property is only meaningful when the process is no longer running. If it is not running then the value is zero.
I think "not" in the last sentence must be removed. Vincent _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel