Re: How to use another script for input.
Greg Navis <[email protected]>
| Newsgroups | gmane.comp.lang.ruby.general |
|---|---|
| Message-ID | <CAA6WWt9iFYj9_3g-n5hCNsAjs9A1E9yGGtdXmF1_wv4RG8A84g@mail.gmail.com> |
Hi! It's hard to make specific recommendations without seeing the script but you have at least two options: 1. Call "require 'your-script-name'" and use the API from within the CGI app. 2. Call your script as a standalone script via fork/exec. Best regards Greg Navis Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>