From: "Panich, Alexander" Date: 2005-06-24T00:01:32+09:00 Subject: Re: Shell type Thanks a lot. Alex. -----Original Message----- From: Robert Klemme [mailto:bob.news@gmx.net] Sent: Thursday, June 23, 2005 5:56 PM To: ruby-talk ML Subject: Re: Shell type Panich, Alexander wrote: > Under Linux, by default, method Kernel.system(command) (backticks as > well) executes command in the subshell of SH type. > > Is there a way to define another shell type (CSH for example) to > execute there, or not? You can always do: ruby -e 'system "/bin/zsh", "-c", "ls bin/**/*.rb"' But I'm sure there are other ways, too. Kind regards robert