From: Harry Date: 2009-10-13T10:45:08+09:00 Subject: How to call an foreign program(compiled) from ruby? Hi, I am trying to use some bin(like exe files under windows) file under linux , these program is compiled from c++ source, can be executed in command line . I am just wondering what is the simple way to call these program from with the ruby program? i think Rake might be the answer , I am not look things like FFI that can handle c source , I just need to call an program ,pass it some command line parameter, get some return data or some result file , that's enough i notice some gem (generally speaking) can have some inbound bin file in it's sub folder, I don't know how they glued together with ruby can someone give some hint? Thank you very much