Hi, At Wed, 7 Jun 2006 11:22:00 +0900, Jeff Pritchard wrote in [ruby-talk:196251]: > pieces = [ruby, $0].concat(ARGV) # $0 is program name > exec pieces.join(' ') # to string and execute it You don't need join here. exec *pieces is safe even if ARGV contains spaces. -- Nobu Nakada