How can i execute a command from a ruby class file

Hi,

I am using ffmpeg plugin to convert one mime type into another mime
type. It works fine when i execute it directly in the command prompt by
typing the command. But thats not my requirement. I want to run that
command from a ruby class file. first i should call that ruby file. then
from there i should automatically execute that command. Can anyone get
me a solution for this.

thanks,

with regards,
barak

Barak I. wrote:

I want to run that
command from a ruby class file.

http://groups.google.com/group/comp.lang.ruby/msg/b0b176c3ac742261

HTH,
Sebastian

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs