From: Luckystr Luckystr Date: 2009-08-16T06:40:47+09:00 Subject: Re: Can't execute shell commands in CGI Luckystr Luckystr wrote: > It is necessary to execute linux command in CGI(apache): > def cmd(com) > system("#{com}>log.log") > end > cmd("pwd") > There isn't errors but log.log is empty > Else: > def cmd > system("pwd>log.log") > end > cmd > there isn't result too. -- Posted via http://www.ruby-forum.com/.