Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Re: run perl script and capture the output
Li Chen
12/20/2006 7:57:00 AM
--- Paul Lutus <nospam@nosite.zzz> 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...
1 Answer
Robert Klemme
12/22/2006 3:48:00 PM
0
On 20.12.2006 08:56, chen li wrote:
> 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.
see here for samples
http://www.ruby-doc.org/docs/ProgrammingRuby/html/tut_threa...
robert
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: run perl script and capture the output
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password