def main ex25 = IO.popen("./ex25", "w+") ex25.write("z" * 10000) ex25.flush puts ex25.readlines.join("\n") end if $0 == __FILE__ main end