Fix log file

This commit is contained in:
Jamie Cameron
2009-09-01 14:34:29 -07:00
parent dfa4dfc515
commit fda59e08fa

View File

@@ -33,10 +33,8 @@ $pid = fork();
if (!$pid) {
chdir("$module_root_directory/ajaxterm");
untie(*STDIN); open(STDIN, "</dev/null");
#untie(*STDOUT); open(STDOUT, ">/dev/null");
#untie(*STDERR); open(STDERR, ">/dev/null");
untie(*STDOUT); open(STDOUT, ">/tmp/ajaxterm.out");
untie(*STDERR); open(STDERR, ">/tmp/ajaxterm.out");
untie(*STDOUT); open(STDOUT, ">/dev/null");
untie(*STDERR); open(STDERR, ">/dev/null");
exec($python, "ajaxterm.py", "--port", $port, "--log");
exit(1);
}