[fpc-pascal] TProcess questions
Adrian Maier
adrian.maier at gmail.com
Tue Oct 3 11:34:46 CEST 2006
On 10/3/06, Adrian Maier <adrian.maier at gmail.com> 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
More information about the fpc-pascal
mailing list