L
Luckystr Luckystr
It is necessary to execute linux command in CGI(apache)
There isn't errors but log.log is empty
Else:
there isn't result too.
Code:
def cmd(com)
system("#{com}>log.log")
end
cmd("pwd")
Else:
Code:
def cmd
system("pwd>log.log")
end
cmd