Jerry Piazza wrote:
> Lets say I have a Windows command line program that runs the following:
> 
> system("del *.txt")
> 
> How do I NOT display the output from the del command?

You could try something like this:

  system("del *.txt >NUL")

Otherwise try IO.popen, which can capture the output of the command, so 
you can throw it away.
-- 
Posted via http://www.ruby-forum.com/.