ara.t.howard
5/20/2007 1:08:00 PM
On May 19, 2007, at 2:23 PM, Corpus Callosum wrote:
>
> ok i got it. and i am giving an example for who want to know
>
> #! /usr/bin/ruby
> exec "apt-get install gaim";
>
> this script run that command on shell
>
>
for posterity, this does run through the shell, rather it replaces
ruby with the argument to exec (another process) completely by-passes
the shell. you need to use system or popen to utilize the shell.
regards.
-a
--
we can deny everything, except that we have the possibility of being
better. simply reflect on that.
h.h. the 14th dalai lama