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]

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to