From: sur max Date: 2007-02-15T18:51:06+09:00 Subject: Re: how to call a .exe file in a ruby program ------=_Part_55106_23133185.1171533063149 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline you can also do it as exec("my_app.exe") exec will throw an error if the exe will not be executed, whereas system()will return true if exe runs properly and false otherwise On 2/15/07, SonOfLilit wrote: > > try a system() call. > > Have a look in the docs at Kernel#system . > > Also have a look at the adopt-a-newbie thread. > > Aur Saraf > > On 2/15/07, yukme wrote: > > > > There is a executable file named "my_app.exe" and i want to run it in my > > ruby program. > > How should i do? > > thanks > > > > -- > > Posted via http://www.ruby-forum.com/. > > > > > -- sur http://expressica.com ------=_Part_55106_23133185.1171533063149--