I would suggest using `HeadlessWorkspace`, as described at https://github.com/NetLogo/NetLogo/wiki/Controlling-API#example-headless
-- You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to netlogo-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/netlogo-devel/ddf943cc-0b13-485d-b43a-af75bec76764n%40googlegroups.com.