Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: JRuby 1.7.0.pre2
-
Component/s: None
-
Labels:None
-
Environment:jruby 1.7.0.preview1 (ruby-1.9.3-p203) (2012-05-17 c550df6) (Java HotSpot(TM) Client VM 1.6.0_26) [Windows 7-x86-java]
-
Number of attachments :
Description
for instance this:
{{
{ a = "|ls.exe" b = open(a, 'w') sleep 3 b.write 'q' }}}
'should' result in a closed pipe message, instead it results in
IOError: not opened for writing
write at org/jruby/RubyIO.java:1332
(root) at test.rb:4
work around: IO.popen("command", "w") seems to have the same effect