From: "ara.t.howard" Date: 2007-05-20T22:07:45+09:00 Subject: Re: run a command on shell with ruby 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