output = IO.popen("perl", "w") output.write('print "Ruby -> Perl\n"')