Prob belongs under erlang but here goes
> iex -S mix
Erlang/OTP 23 [erts-11.1.7] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe]
Interactive Elixir (1.11.3) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> :observer.start()
:ok
So far so good.
Observer docs indicate that to shutdown:
Module
observer
Exports
start() → ok
OTP R15BStarts the Observer GUI. To stop the tool, close the window.
Say no more, so I go ahead and close the window, but the app remains on the dock.
Right click app on dock and click Quit
, nothing happens.
Run :observer.start()
again now that window is closed, nothing happens.
Force quit the erlang app, I get the following
iex(2)>
13:28:01.365 [info] SIGTERM received - shutting down
[1] 70302 killed iex -S mix
Does this mean the erlang macOS app I see in dock is the actual iex session, not the observer? Or does it just mean that iex session process is linked to observer process?
Expected behavior behavior: on window close, tool gets stopped, app removed from dock, iex receives message and keeps running. Then, in same iex session, on second :observer.start()
call, tool starts anew with app in dock.
Any ideas how to fix?