Unix.environment ()
in
(* 4. We exec a new copy of uwobo *)
- Unix.execve Sys.executable_name [||] environment ;
- (* It should never reach this point *)
- assert false
+ Unix.execve Sys.executable_name [||] environment
) ()
| child when child > 0 ->
(* let's check if the new UWOBO started correctly *)
| None -> Http_daemon.respond_error ~code:(`Status (`Client_error `Bad_request)) outchan ;
end
| "/apply" ->
- let logger = new Uwobo_logger.processingLogger () in
+(* let logger = new Uwobo_logger.processingLogger () in *)
veillogger#clearMsgs;
let profile = try Some (req#param "profile") with _ -> None in
let password = try Some (req#param "password") with _ -> None in
raise (Uwobo_failure (sprintf "Unsupported property: %s" prop))
in
let p_last_stylesheet =
- Gdome_xslt.processStylesheet last_stylesheet
+ Gdome_xslt.processStylesheet last_stylesheet'
in
p_stylesheets <-
((last_key,props),p_last_stylesheet)::p_stylesheets ;