On Thu, 26 Jan 2017, Graeme Geldenhuys wrote:

Hi,

Whats the differences or pros and cons between using TProcess vs
RunProcess().

TProcess gives you full access to the process. You can kill it,
pause it, write to stdin, read from stdout.

These things cannot be done with RunProcess. That's one-shot and wait till it exits.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to