1. Technology

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 ...
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 ...
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.
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 ...
Command-line Arguments in Ruby - About.com
They simply run, do their job and then exit. ... Command-line arguments are passed to the Ruby program by the shell, the program the excepts commands ( such ...
The 'exec' Method - Ruby - About.com
There are several ways to run other programs in Ruby. There is the system> method, backticks, etc. However, they all spawn new processes. If there is nothing ...
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 ...
1  |  2  |  3  |  4  |  5  |  6      Next

©2014 About.com. All rights reserved.