----------------------------------------------------------------------------- -- CGI WSAPI handler -- -- Author: Fabio Mascarenhas -- Copyright (c) 2007 Kepler Project -- ----------------------------------------------------------------------------- local os = require"os" local io = require"io" local common = require"wsapi.common" common.setmode() module(...) function run(app_run) common.run(app_run, { input = io.stdin, output = io.stdout, error = io.stderr, env = os.getenv }) end