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