Getting output of system() calls in ruby

Posted by Macha on Stack Overflow See other posts from Stack Overflow or by Macha
Published on 2009-03-27T15:12:54Z Indexed on 2010/03/16 5:46 UTC
Read the original article Hit count: 379

Filed under:
|

If I call a command using system() in ruby, how do I get it's output?

e.g.

system("ls")

© Stack Overflow or respective owner

Related posts about ruby

Related posts about system