Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Executables and Standard Input
Brandon
3/18/2007 9:53:00 PM
Hello,
I need to start an executable and feed it data through standard input.
I know how to do this with other languages but can't figure out how to
do it with ruby.
Can someone please point me in the right direction?
Thanks.
--
Posted via
http://www.ruby-...
.
1 Answer
Patrick Hurley
3/18/2007 9:59:00 PM
0
On 3/18/07, Brandon <brandon.casci+rubyforum@gmail.com> wrote:
> Hello,
>
> I need to start an executable and feed it data through standard input.
>
> I know how to do this with other languages but can't figure out how to
> do it with ruby.
>
> Can someone please point me in the right direction?
>
> Thanks.
>
> --
> Posted via
http://www.ruby-...
.
>
>
Try
http://www.rubycentral.com/book/ref_c_io.htm...
for
starters, also if you need to control stderr search for popen3, etc.
pth
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Executables and Standard Input
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