Panich, Alexander
6/23/2005 3:02:00 PM
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