Expand description
§Process Spawner Module
Provides platform-independent facilities for spawning, detaching, and managing child processes (such as the REKTAL Kernel and GUI client).
§Process Independence & Detachment
All processes spawned via this module are detached from the parent Launcher process lifecycle:
- On Linux / macOS (Unix): Child processes and terminal emulators are placed in their own
process group (
process_group(0)/setpgid) and have standard streams decoupled, ensuring they outlive the Launcher when it closes. - On Windows: Processes are detached using
CREATE_NEW_PROCESS_GROUPand (optionally)CREATE_NEW_CONSOLE.
Functions§
- spawn_
gui - Spawns the REKTAL GUI client executable with optional arguments and console window.
- spawn_
kernel - Spawns the REKTAL Kernel executable with optional arguments and console window.
- spawn_
linux 🔒 - Spawns a process on Linux, querying available terminal emulators when console output is requested.
- spawn_
process - Spawns a REKTAL binary (e.g.
"kernel"or"gui") as an independent, detached process.