[fpc-pascal] Ping problems - OS/X

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Wed May 21 17:07:46 CEST 2014


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]



More information about the fpc-pascal mailing list