> This won't work (even when you remove the typo .to_S):
> f.puts system('ping 192.168.1.74').to_S
> 
> The ping will be executed, but you are logging if it succeeded, not the 
> output.
> Erik is pointing to a working solution:
> 
> f.puts `ping 192.168.1.74`
> 
> Note these `` are backticks, not single quotes.
> 
> hth,
> 
> Siep


Thank you!  that was the bit that made the difference (backtick instead 
of quote)  The .to_S was more of an experiment that I forgot to pull 
immediately :)

thanks for all your help everyone!
-- 
Posted via http://www.ruby-forum.com/.