Skip to main content

spawn_gui

Function spawn_gui 

Source
pub fn spawn_gui(args: &[&str], show_console: bool) -> Result<Child>
Expand description

Spawns the REKTAL GUI client executable with optional arguments and console window.

Convenience wrapper around spawn_process with bin_name = "gui".

§Arguments

  • args - Command-line arguments passed to the GUI binary.
  • show_console - Whether to display a native console window alongside the GUI.

§Examples

use launcher::spawn_process::spawn_gui;

// Spawns the GUI quietly in the background
let _child = spawn_gui(&[], false);