Can ocsigen be run in excess?

I used YAWS in erlang REPL by simply running yaws -i . When the yaw is started, I can continue to use erlang REPL.

Then I want to know if ocsigen can be run in OCaml toplevel? Of course, this is not the practical use of ocsigen, but as an exercise.

I tried the thread as shown below, but this did not work:

 Ξ»> #thread;; Ξ»> Thread.create (fun _ -> Sys.command "ocsigen -c ~/ocsigen.conf.qachina") ();; -: Thread.t = <abstr> 

it works great!
BTW What does "abstr" mean?

Any suggestion appreciated!

+4
source share
1 answer

Enable threads at the top level using #thread .

Although I'm not sure this question is related to ocsigen.

+2
source

Source: https://habr.com/ru/post/1383363/


All Articles