IO.popen doesn't support Array of String's arg in 1.9 mode ----------------------------------------------------------
Key: JRUBY-5389 URL: http://jira.codehaus.org/browse/JRUBY-5389 Project: JRuby Issue Type: Bug Components: Ruby 1.9 Affects Versions: JRuby 1.6RC1 Environment: Windows 7 Ultimate 32-bit Reporter: Jon Assignee: Thomas E Enebo {code:title=io_popen.rb|bgColor=#DDD} IO.popen ['c:\Program Files\7-Zip\7z.exe'] do |i| puts i.read end {code} {code:title=1.6.0.RC1 binary download|bgColor=#DDD} C:\Users\Jon\Documents\RubyDev\sandbox>jruby --1.9 -v io_popen.rb jruby 1.6.0.RC1 (ruby 1.9.2 trunk 136) (2011-01-10 769f847) (Java HotSpot(TM) Client VM 1.6.0_23) [Windows 7-x86-java] org/jruby/RubyIO.java:3499:in `popen': can't convert Array into String (TypeError) from io_popen.rb:1:in `(root)' {code} {code:title=master|bgColor=#DDD} C:\Users\Jon\Documents\RubyDev\sandbox>jruby --1.9 -v io_popen.rb jruby 1.6.0.RC1 (ruby 1.9.2 patchlevel 136) (2011-01-19 89ec563) (Java HotSpot(TM) Client VM 1.6.0_23) [Windows 7-x86-java] org/jruby/RubyIO.java:3499:in `popen': can't convert Array into String (TypeError) from io_popen.rb:1:in `(root)' {code} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - 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