2010/11/27 mathew <meta / pobox.com>:
> On Fri, Nov 26, 2010 at 08:18, Motohiro KOSAKI <redmine / ruby-lang.org>
> wrote:
>>
>> And if we accept this proposal, system() will lose user enviroment
>> portability. e.g. csh has completely different syntax from /bin/sh. Thus,
>> distributed ruby scripts will not be able to use system().
>
> Surely anyone using system() to execute a shell script will be using a
> shebang (#!) line to specify the shell the script is supposed to be executed
> by?
> If you don't, you're likely to discover that ksh is the standard POSIX
> shell, not sh; and then there's the whole issue of bash vs ash vs sh.

In practical world, peope who want distribute their own scripts are only using
ash subset. It works enough, I think.