IO.popen « File Directory « Ruby






1.you open up an I/O stream with dir
2.open a program with a read/write I/O stream and handle data in both directions
3.Open a file and write string into it
4.IO.popen("-")