You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every subprocess created with Process.spawn() also gets its own window.
It can set window.visible = false to prevent it from showing up.
But ideally, it should be possible to pass --headless to make the subprocess never create its native window and just run code. In those cases, window and window.canvas wouldn't exist in the global object.
Most of the work to support that involves adapting the main loop to "wait for events" without using GLFW; the main event source would be libuv instead (e.g. wake-up whenever more bytes are received from the parent process or from a subprocess).
The text was updated successfully, but these errors were encountered:
Every subprocess created with Process.spawn() also gets its own window.
It can set
window.visible = false
to prevent it from showing up.But ideally, it should be possible to pass
--headless
to make the subprocess never create its native window and just run code. In those cases,window
andwindow.canvas
wouldn't exist in the global object.Most of the work to support that involves adapting the main loop to "wait for events" without using GLFW; the main event source would be libuv instead (e.g. wake-up whenever more bytes are received from the parent process or from a subprocess).
The text was updated successfully, but these errors were encountered: