On 10/3/06, Adrian Maier <[EMAIL PROTECTED]> wrote:
>
> Well, first of all you should do a 'IsRunning' (or running) before checking
> the exitcode.
I'm using the poWaitOnExit option, so my program doesn't waits
until the external process ends. All I need is to know if the
external process ended successfully or not .
Sorry for the spelling mistakes. I meant:
I'm using the poWaitOnExit option, so my program waits for the external
process to end. In this case the process is surely not running anymore when I
get the exitcode. All I need is to know if the external process ended
successfully
or not .
> Only after that you can check the exit code. About the signalling,
> we'd need to extend TProcess for that.
I understand.
Cheers,
Adrian Maier
--
Adrian Maier
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal