From: ts Date: 2003-03-26T21:56:23+09:00 Subject: Re: exec : Zero Sized Reply >>>>> "R" == \"RayZ\" Andrew V Rumm writes: R> genpwd = "htpasswd -b test.pwd #{username} #{password}" R> genpwd.untaint R> exec genpwd R> ---- R> it retuns an error R> Can someone explain - how can i remove Zero Sized Reply error? Well, if your command don't return output you want perhaps use system rather tant exec genpwd = "htpasswd -b test.pwd #{username} #{password}" genpwd.untaint # execute the command system genpwd # now you can send an output for the client puts <<-EOT Context-type:text/plain command was OK EOT but be sure that no output was generated by the command Guy Decoux