equivalent to exec

Grégory Pardoen wrote:

Hi,

Is there an equivalent in RoR of the exec command in PHP ?

Thanks

system("external_command")

or

results = `external_command`

if you want an easy way to capture STDOUT from the command (those are backquotes BTW).