- Jan 2, 2006
- 10,455
- 35
- 91
I have an external standalone program that can be installed on Linux or Windows. I want to install this program on my Rails server, and have Rails invoke this program through the program's command line arguments somehow.
The program manipulates images in certain ways. I want the user to go to my website, upload an image, and after uploading, RAILs invokes the program via command line and passes parameters to the program. Rails then grabs the output of the program (an embed link / string) and displays it on the website.
Right now I don't even know where to start...
The program manipulates images in certain ways. I want the user to go to my website, upload an image, and after uploading, RAILs invokes the program via command line and passes parameters to the program. Rails then grabs the output of the program (an embed link / string) and displays it on the website.
Right now I don't even know where to start...