Artem Kazakov wrote:
> Hi Gurus :)
> 
> Here is the problem:
> I need to gather the output from an external program.
> So in my code I do:
>       result << `#{@caputackt} #{@channel} #{ackt}`
> 
> but the script stops at this line, and when I do ps I [...]


Does it happen when you use the following line instead?

result << `ls`

...and when you use the following?

result << `ruby -e "puts 123"`




-- 
Posted via http://www.ruby-forum.com/.