IO#close seems to return prematurely
------------------------------------
Key: JRUBY-5416
URL: http://jira.codehaus.org/browse/JRUBY-5416
Project: JRuby
Issue Type: Bug
Environment: jruby 1.6.0.RC1 (ruby 1.8.7 patchlevel 330) (2011-01-22
5410dc0) (Java HotSpot(TM) Client VM 1.6.0_10) [Windows XP-x86-java]
Reporter: Roger Pack
Assignee: Thomas E Enebo
>> a = IO.popen("ruby.exe -e sleep")
=> #<IO:0x1fb050c>
>> a.close # this call should never return
=> nil
>> $?
=> #<Process::Status: pid=????,exited(1)>
You'll notice that it returns prematurely. This works with 1.5.5, but not
HEAD. Not sure if this is an issue on Linux as well or not.
Cheers!
-r
--
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