Displaying 1 result from an estimated 1 matches for "readfinal".
Did you mean:
  predfinal
  
2007 Mar 01
0
No subject
...t].inspect
		end
	rescue ChildExit => e
	    puts :RESCUE
	    trap(:SIGCHLD, old_sighandler)
		puts [:select, IO.select([x], [], [], 0)].inspect
	    while IO.select([x], [], [], 0)
		puts [:select, IO.select([x], [], [], 0)].inspect
		chunk = x.read(1)
		output << chunk if chunk
		puts [:readfinal, chunk, output].inspect
		break if not chunk
	    end
	    return output, e.status
	finally
	    puts :FINALLY
	    trap(:SIGCHLD, old_sighandler)
	end
    end
end
puts from_child(''echo foo;echo -n foo; (sleep 10 ;echo bar) &'').inspect
***************************************...