![]() |
|
|
Issue Type:
|
Bug
|
Affects Versions:
|
JRuby 1.7.4, JRuby 1.7.3, JRuby 1.7.2, JRuby 1.7.5 |
Assignee:
|
Thomas E Enebo
|
Components:
|
Standard Library |
Created:
|
01/Jun/13 6:33 AM
|
Description:
|
I made a small cat to dog converter:
require 'open3'
o, e, s= Open3.capture3("cat", stdin_data: "cat")
puts o.gsub(/cat/, "dog")
which works fine in ruby-1.9.3 and converts a cat to dog.
When I run the converter with jruby-1.7.2 and jruby-head, I get:
Errno::EPIPE: Broken pipe - Broken pipe
close at org/jruby/RubyIO.java:2030
capture3 at /home/nurettin/.rvm/rubies/jruby-head/lib/ruby/1.9/open3.rb:281
popen3 at org/jruby/RubyIO.java:4117
popen3 at /home/nurettin/.rvm/rubies/jruby-head/lib/ruby/1.9/open3.rb:74
capture3 at /home/nurettin/.rvm/rubies/jruby-head/lib/ruby/1.9/open3.rb:272
(root) at test_cat.rb:2
Can you please make cat to dog converter work?
|
Environment:
|
rvm install jruby-head
|
Project:
|
JRuby
|
Labels:
|
open3
capture3
|
Priority:
|
Major
|
Reporter:
|
Nurettin Onur TUĞCU
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email