From: nobu@... Date: 2006-06-07T13:29:56+09:00 Subject: Re: can I keep re-running the same script? how? 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