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