list. rb
2/24/2009 1:29:00 PM
On Feb 24, 2009, at 8:19 AM, aidy <aidy.lewis@googlemail.com> wrote:
> Hi,
>
> I have fired off an exe with the kernal method exec
>
> loader_app = "#{Dir.getwd}/PublishUi.exe"
> exec(loader_app)
>
> The exec method seems to hold up the process
>
> so
>
> exec(loader_app)
> puts "we got here"
>
> Will not print "we got here" till I close the app.
>
> I am not sure whether I should use a new thread or a new process here,
> or whether there is an alternative.
>
> Thanks
>
> Aidy
>
>
IO.popen(an_exe)