From: KOSAKI Motohiro Date: 2010-11-27T21:36:19+09:00 Subject: [ruby-core:33426] Re: [Ruby 1.9-Feature#2351] system() hardlinked to /bin/sh 2010/11/27 mathew : > On Fri, Nov 26, 2010 at 08:18, Motohiro KOSAKI > 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.