Running system() without output

Heya,

I’m relatively new to Ruby, but I haven’t found any way of doing this
by looking through the documentation. I want to call
system("/usr/bin/sometask #{somefile}"), except the task in question
doesn’t have a --quiet modifier. Is there anyway to keep the output
from showing up whenever I run my ruby script?

On Jun 23, 2008, at 7:21 PM, Yanik Magnan wrote:

Heya,

I’m relatively new to Ruby, but I haven’t found any way of doing this
by looking through the documentation. I want to call
system(“/usr/bin/sometask #{somefile}”), except the task in question
doesn’t have a --quiet modifier. Is there anyway to keep the output
from showing up whenever I run my ruby script?

#{ command }

a @ http://codeforpeople.com/

That works! Thanks.