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/.