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 ...
http://ruby.about.com/od/beginningruby/qt/retval.htm
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 ...
http://ruby.about.com/od/beginningruby/a/Interacting-With-External-Programs.htm
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 ...
http://ruby.about.com/od/tutorials/a/commandline_4.htm
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.
http://ruby.about.com/od/rubyfeatures/a/require.htm
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 ...
http://ruby.about.com/od/rubyfeatures/a/envvar.htm
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 ...
http://ruby.about.com/od/rubyfeatures/a/argv.htm
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 ...
http://ruby.about.com/od/advancedruby/a/The-Exec-Method.htm
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.
http://ruby.about.com/od/beginningruby/
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.
http://ruby.about.com/od/advancedruby/
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 ...
http://ruby.about.com/od/rubyfeatures/a/exceptions.htm
1  |  2  |  3  |  4  |  5  |  6  |  7      Next

©2014 About.com. All rights reserved.