Peter Brooks wrote:
Unfortunately, I've tried both the full path and just the name -
apparently TProcess is supposed to look in the path - and it does
work. When it is called, it returns a '0' indicating successful
completion.
I just tried it again with /sbin/ping instead of ping and the
behaviour is just the same.
Is there an easier way to print the stream that comes back from
TProcess? I think that the problem is in TStringList.
I've already said that you're repeatedly overwriting the content.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal