Kernel.system does not utilize tailing arguments in 1.9 mode.
-------------------------------------------------------------
Key: JRUBY-5707
URL: http://jira.codehaus.org/browse/JRUBY-5707
Project: JRuby
Issue Type: Bug
Components: Ruby 1.9.2
Affects Versions: JRuby 1.6
Environment: java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.7) (fedora-52.1.9.7.fc14-x86_64)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
Reporter: Postmodern
Assignee: Thomas E Enebo
I attempted to call Kernel.system with tailing arguments in 1.9 mode, but
Kernel.system only returned nil.
Steps to reproduce:
jruby --1.9 -S irb
>> system('ls', '-la', :out => ['log.txt','w'])
Expected result:
* The log.txt file would be created.
Actual result:
* nil is returned and log.txt is not created.
Documentation for tailing arguments:
http://rubydoc.info/stdlib/core/1.9.2/frames
--
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