Convert Ruby to C languge, would anyone want to take a look?
1 answer
The popen man page has an example that should help:
http://www.opengroup.org/onlinepubs/009695399/functions/popen.html
+2
a source to share