We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headius
Learn more about funding links in repositories.
Report abuse
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? Sign in 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.
ConcurrencyError
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
The text was updated successfully, but these errors were encountered:
has been resolved in 9K :
kares@sputnik:~/workspace/oss/jruby$ irb jruby-9.1.15.0 :001 > system('ls', '-la', :out => ['log.txt','w']) => true jruby-9.1.15.0 :002 > puts `cat log.txt` total 16188 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
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
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
The text was updated successfully, but these errors were encountered: