Hi,
I noticed Utop sets Sys.interactive to false when given a script - which is a difference with respect to the original OCaml toplevel.
This is a bit inconvenient since I'm using Sys.interactive to skip Dynlink.load calls when running under a toplevel (and Dynlink itself uses Sys.interactive to fail gracefully under a toplevel).
Is this something that could be fixed ?
Hi, I noticed Utop sets
Sys.interactive
to false when given a script - which is a difference with respect to the original OCaml toplevel. This is a bit inconvenient since I'm usingSys.interactive
to skipDynlink.load
calls when running under a toplevel (andDynlink
itself usesSys.interactive
to fail gracefully under a toplevel). Is this something that could be fixed ?