I want users to upload pics and then have a background process that converts them to an animated gif. For right now I’d just like to fork a sys process and let a script do the processing.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Have a read of this article: 6 Ways to Run Shell Commands in Ruby
Pick one of those methods and use it in your controller.
If you want anything moderately complex (ie reading output from
stderr) you’ll need to use a gem – likelyopen4.