lib/rio/stream/open.rb in rio-0.3.1 vs lib/rio/stream/open.rb in rio-0.3.2

- old
+ new

@@ -64,10 +64,10 @@ end def open_(*args) #p callstr('open_',args.inspect)+" mode='#{mode?}' (#{mode?.class}) ioh=#{self.ioh} open?=#{open?}" unless open? ios = self.rl.open(mode?,*args) - noclose_(false) if ios.tty? + noautoclose_(false) if ios.tty? self.ioh = IOH::Stream.new(ios) end self end