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!
source share