Kernel.system doesn't work with environement parameters -------------------------------------------------------
Key: JRUBY-6234 URL: https://jira.codehaus.org/browse/JRUBY-6234 Project: JRuby Issue Type: Bug Components: Ruby 1.9.2 Affects Versions: JRuby 1.6.5 Environment: jruby 1.6.5 (ruby-1.9.2-p136) (2011-10-25 9dcd388) (Java HotSpot(TM) Client VM 1.6.0_21) [SunOS-x86-java] Reporter: Tnarik Assignee: Thomas E Enebo Priority: Minor Since Ruby 1.9.2 at least, Kernel.system has the following signatures: system([env,] command... [,options]) , where Kernel.system({"FOO" => "BAR"}, "echo $FOO") would produce "BAR" as output and return 'true' On JRuby 1.6.5, it returns 'nil' instead. -- This message is automatically generated by JIRA. 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