|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I have a system command that im running using Popen. Im trying to read
in the entire io result. IO.read needs a length argument to run. How can I read it without knowing what the total length is? -- Posted via http://www.ruby-forum.com/. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
From: "Aryk Grosz" <tennisbum2002@hotmail.com> > >I have a system command that im running using Popen. Im trying to read > in the entire io result. IO.read needs a length argument to run. > > How can I read it without knowing what the total length is? Omit the length parameter. (ri IO#read) everything = io.read Regards, Bill |
|
![]() |
| Outils de la discussion | |
|
|