From: chen li Date: 2006-12-20T16:56:53+09:00 Subject: Re: run perl script and capture the output --- Paul Lutus wrote: > out=`perl c:\\Perl\\self\\back1.pl` > out=`perl c:/Perl/self/back1.pl` > out = `perl -v` Hi Paul, Thank you very much. They all work fine now. In order to capture the output from Ruby I just need to "puts xxxx". Another quick question: How to translate the codes above using IO.popen. I read the related part of IO.popen but I can't figure out how. BTW I can't see your post and another post to my question from the forum at Ruby talk. I think the server might have some problems. Once again thank you very much, Li BTW I can't see you reply on the forum at Ruby-talk. I think the server might have some problems. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com