On Fri, Jun 8, 2012 at 11:51 AM, Raphael B. <lists / ruby-forum.com> wrote:

> The hashbang/shebang line is read by the current shell to know which
> interpreter should be run to execute the script, and the interpreter
> actually running the script ignores this line, because it is indeed a
> comment for him!

It's not the current shell but one of the system calls exec* which is
invoked in the child after fork().  See section "Interpreter scripts"
at http://linux.die.net/man/2/execve

Kind regards

robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/