Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
From: http://jira.codehaus.org/browse/JRUBY-5707. Decent error message is displayed in JRuby 1.7.18 but ConcurrencyError is raised in JRuby 9000.
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'])
The log.txt file would be created.
nil is returned and log.txt is not created.
Documentation for tailing arguments: http://rubydoc.info/stdlib/core/1.9.2/frames
The text was updated successfully, but these errors were encountered:
has been resolved in 9K :
jruby-188.8.131.52 :001 > system('ls', '-la', :out => ['log.txt','w'])
jruby-184.108.40.206 :002 > puts `cat log.txt`
drwxr-xr-x 27 kares kares 401408 Mar 1 15:16 .
drwxr-xr-x 89 kares kares 4096 Feb 24 10:17 ..
Sorry, something went wrong.
No branches or pull requests