mob/verb/test()
var/Addr = startup(file("./Sectors/Sectors.dmb"), 4444, "-once")
shutdown(Addr,1)
[EDIT]
Further digging has lead me to this post: ID:597782 which makes me think this bug was never fixed.
[/EDIT]
How do I make Dream Daemon terminate after it has stopped being hosted? Also, how do I check to see if a port is open or not so I can't host a new project on the same port causing it to fail to host.
I've figured out how to close a window when it's open but not when it's minimized the the tray. This is the code for closing it when it's open but I need to to work for when it's minimized to the tray as well.
shell({"taskkill /FI "WINDOWTITLE eq Dream Daemon" /F"})