87828 threads
1548 threads
2 emails from 2 people
I had a command line tool that I would like to use to process any files that is uploaded to my server. How does the Rails application exexcute a command line tool? Thanks. Yours sincerely, Isaac Timothy -- Posted via http://www.ruby-forum.com/.
Place the command inside backquotes, you can pass arguments etc.. >> name = ''Jonny''=> "Jonny">> `echo Hello #{name}`=> "Hello Jonny\n" -Jonny. -- Posted via http://www.ruby-forum.com/.
>> name = ''Jonny''
>> `echo Hello #{name}`