[Lazarus] Exit Status of Lazarus App

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Thu Mar 21 22:00:10 CET 2013


David Copeland wrote:

> As an aside, I have discovered that if you use FpSystem to run a Lazarus
> App, the exit code returned is multiplied by 256 (or mishandled
> somehow), Eg. 1 => 256, 13 => 3328, etc. However when run using TProcess
> the exit code is returned correctly.

Working from memory I think that's by design, it's the way the unix 
system calls work.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list