run perl script and capture the output

Discussion in 'Ruby' started by Li Chen, Dec 20, 2006.

  1. Li Chen

    Li Chen Guest

    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`


    Li

    --
    Posted via http://www.ruby-forum.com/.
     
    Li Chen, Dec 20, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. dpackwood
    Replies:
    3
    Views:
    1,802
  2. Replies:
    6
    Views:
    639
  3. noydb
    Replies:
    14
    Views:
    1,863
    noydb
    Nov 20, 2010
  4. John Smith
    Replies:
    7
    Views:
    169
    Gary Wright
    Dec 30, 2009
  5. Replies:
    6
    Views:
    151
    Tad McClellan
    Apr 14, 2005
Loading...

Share This Page