Articles related to ruby calling external programs
Capturing the Return Value of an External Program
Ruby makes it easy to run external programs and capture their output. Using the built-in "backtick" operator is as easy as running these programs from the ...
Interacting with External Programs - Ruby - About.com
You've learned how to launch external programs using both system or backticks and using the exec method. These are both fine, but only on one condition: the ...
Is the "Require" Method Overlooked in Ruby? - About.com
... in Ruby. It allows you to import other source files into your programs. ... In Ruby , the require method is used to load another file and execute all its statements.
The Interactive Ruby Prompt - About.com
Ruby statements can be run and the output and return values can be ... in Ruby 1.9.1 · Capturing the Return Value of an External Program · How to Install Ruby ...
Accessing Ruby Environment Variables - About.com
Using environment variables in Ruby. ... The environment variable will be passed onto the program as its run, but not saved. Any further invocations of the ...
Beginning Ruby - About.com
If you're just getting to know Ruby, these articles will tell you what you need to know to get ... What Every Coder Should Know About Running Ruby Scripts.
Advanced Ruby - About.com
These pages deal with some of the more advanced concepts of Ruby and are geared ... What Every Coder Should Know About Running Ruby Scripts ... (for example, resizing an image file) to an external program using the backtick operator.
Exceptions - Ruby - About.com
If an exception is raised, the program stops executing and the Ruby interpreter will look for code that can "catch" or "handle" the exception. For example, if a file ...
Riding Shotgun with Sinatra - Ruby - About.com
In essence, this is a "development mode" as in Rails applications. ... your LAN, or that can reach you over the Internet can access your running Sinatra apps.
Tainted Data - Ruby - About.com
In large programs, especially when heavy abstraction is involved, it's sometimes ... resizing an image file) to an external program using the backtick operator. ... Coder Should Know About Running Ruby Scripts · How to Create Arrays in Ruby ...