Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > run perl script and capture the output

Thread Tools

run perl script and capture the output

Li Chen
Posts: n/a
Hi all,

I need to run a perl script from Ruby and capture its output. I use the
following line in Ruby but it fails. Any input will be appreciated.

out=`perl c:\\Perl\\self\\back1\.pl`


Posted via

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to run an EXE, with argument, capture output value noydb Python 14 11-20-2010 02:39 AM
How to run one script from another, and capture the output John Smith Ruby 7 12-30-2009 06:00 PM
How to fetch output of some other script in the current running perl script? Perl Misc 4 10-27-2007 03:52 PM
how to run perl script from a perl script? Perl Misc 6 04-13-2005 11:19 PM
Perl Help - Windows Perl script accessing a Unix perl Script dpackwood Perl 3 09-30-2003 02:56 AM