From: brad Date: 2007-08-22T23:14:58+09:00 Subject: Re: Call an application from Ruby Daniel Lucraft wrote: > Luiz Macchi wrote: >> Hi all, how to call an application from Ruby inside on Linux ? >> >> I卒d like to run 'KCalc' for example >> >> thank any help > > You can execute a system command by putting it between `backticks`. On > Gnome, the calculator command is gcalctool and this works for me: > > dan: /home/dan$ irb > irb(main):001:0> `gcalctool` > => "" You might also do this: system('gcalctool')