# IO.popen max length

**URL:** <https://www.ruby-forum.com/t/io-popen-max-length/151170>\
**Category:** Ruby\
**Created:** [October 17, 2008, 5:05pm UTC](https://www.ruby-forum.com/t/io-popen-max-length/151170 "2008-10-17T17:05:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![melmoth](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9de053/32.png) [@melmoth](https://www.ruby-forum.com/u/melmoth)\
**Post date:** [October 17, 2008, 5:05pm UTC](https://www.ruby-forum.com/t/io-popen-max-length/151170/1 "2008-10-17T17:05:28Z")

</div>

Hi,  
I’m using IO.popen for launching an executable, the line is quite long  
cause there are many parameters to set. Actually they are two executable  
connected with a pipe.

I get the error  
“line too long”

is there something I can do ?

thanks

---

<div class="post-metadata">

**Author:** ![melmoth](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9de053/32.png) [@melmoth](https://www.ruby-forum.com/u/melmoth)\
**Post date:** [October 20, 2008, 9:46am UTC](https://www.ruby-forum.com/t/io-popen-max-length/151170/2 "2008-10-20T09:46:30Z")

</div>

Me Me wrote:

> Hi,  
> I’m using IO.popen for launching an executable, the line is quite long  
> cause there are many parameters to set. Actually they are two executable  
> connected with a pipe.
> 
> I get the error  
> “line too long”
> 
> is there something I can do ?
> 
> thanks

It works aupgrading to 186-26
