From: James Edward Gray II Date: 2007-09-26T11:59:18+09:00 Subject: Re: Running shell scripts On Sep 25, 2007, at 9:00 PM, Une B�vue wrote: > Une B�vue wrote: > >>> ri Kernel#system > > better (on mac os x) : > > ri Kernel\#system The first version works fine on my OS X box: Welcome to Darwin! Firefly:~$ ri -T Kernel#system ---------------------------------------------------------- Kernel#system system(cmd [, arg, ...]) => true or false ------------------------------------------------------------------------ Executes _cmd_ in a subshell, returning +true+ if the command was found and ran successfully, +false+ otherwise. An error status is available in +$?+. The arguments are processed in the same way as for +Kernel::exec+. system("echo *") system("echo", "*") _produces:_ config.h main.rb * James Edward Gray II